mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
fix tests
This commit is contained in:
parent
d1cab80167
commit
a35d103111
7 changed files with 32 additions and 19 deletions
|
@ -37,6 +37,11 @@ class ApplicationContextRepositoryTest extends TestCase
|
|||
->andReturn($value);
|
||||
}
|
||||
|
||||
expect('home_url')
|
||||
->andReturn('https://example.com/');
|
||||
expect('wc_get_checkout_url')
|
||||
->andReturn('https://example.com/checkout/');
|
||||
|
||||
expect('get_user_locale')
|
||||
->andReturn($userLocale);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue