Skip to content

Commit

Permalink
Update test-methods.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitcbr committed May 27, 2024
1 parent 893aae9 commit f9bb6be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/phpunit/tests/test-methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f9bb6be

Please sign in to comment.