diff --git a/tests/phpunit/tests/test-methods.php b/tests/phpunit/tests/test-methods.php index c2bbd602..74745e62 100755 --- a/tests/phpunit/tests/test-methods.php +++ b/tests/phpunit/tests/test-methods.php @@ -108,6 +108,7 @@ public function testReceiptPage() $this->instance->shouldReceive('getRazorpayApiPublicInstance')->andReturnUsing(function () { return new MockApi('key_id', ''); }); + $this->assertSame('order_test', $razorpayOrderId); ob_start(); $this->instance->receipt_page($orderId);