mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 04:58:28 +08:00
Add missing stub
This commit is contained in:
parent
efa3d5b02a
commit
ae978771c0
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ class ModularTestCase extends TestCase
|
|||
when('admin_url')->returnArg();
|
||||
when('plugins_url')->returnArg();
|
||||
when('plugin_dir_path')->alias(function ($file) { return trailingslashit(dirname($file)); });
|
||||
when('is_plugin_active')->justReturn(true);
|
||||
when('get_current_blog_id')->justReturn(42);
|
||||
when('get_site_url')->justReturn('example.com');
|
||||
when('get_bloginfo')->justReturn('My Shop');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue