Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
carlHandy committed Oct 12, 2024
1 parent ddb8e82 commit 8fb17e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/MMGCheckoutPaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MMGCheckoutPaymentTest extends TestCase {
protected function setUp(): void {
parent::setUp();
$this->mmg_checkout = $this->getMockBuilder(Kalpa_MMG_Checkout_Main::class)
->setMethods(['kalpa_validate_public_key', 'kalpa_encrypt', 'url_safe_base64_encode', 'kalpa_get_checkout_url', 'kalpa_generate_checkout_url'])
->setMethods(['kalpa_validate_public_key', 'kalpa_encrypt', 'kalpa_url_safe_base64_encode', 'kalpa_get_checkout_url', 'kalpa_generate_checkout_url'])
->getMock();

$this->mmg_checkout->method('kalpa_validate_public_key')->willReturn(true);
Expand Down

0 comments on commit 8fb17e5

Please sign in to comment.