Skip to content

Commit 67ad6a3

Browse files
committed
Update class-plugin-unit-Test.php
1 parent efa4f2b commit 67ad6a3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/unit/class-plugin-unit-Test.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ function( Settings_Interface $settings, LoggerInterface $logger ) {}
4444
function( $settings ) {}
4545
);
4646

47+
\Patchwork\redefine(
48+
array( \BrianHenryIE\Checkout_Rate_Limiter\API\Settings::class, 'get_log_level' ),
49+
function() {
50+
return 'info';
51+
}
52+
);
53+
4754
\WP_Mock::userFunction(
4855
'plugin_dir_path',
4956
array(

0 commit comments

Comments
 (0)