fix tests

This commit is contained in:
David Remer 2020-08-31 13:03:16 +03:00
parent d1cab80167
commit a35d103111
7 changed files with 32 additions and 19 deletions

View file

@ -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);