Skip to content
Snippets Groups Projects
Commit cc03850e authored by dyszczo's avatar dyszczo
Browse files

tests fix

parent 332e689a
No related branches found
No related tags found
2 merge requests!8Devel,!7requirement class can render or disable
Pipeline #8254 passed with warnings
......@@ -160,7 +160,8 @@ class Test_Basic_Requirement_Checker extends PHPUnit\Framework\TestCase {
[ $requirements, 'render_notices_action' ] );
$this->assertFalse( $requirements->are_requirements_met() );
$requirements->disable_plugin_render_notice();
$requirements->disable_plugin();
$requirements->render_notices();
WP_Mock::wpFunction( 'deactivate_plugins' )
->once();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment