Skip to content
Snippets Groups Projects

Feature/transients

Merged Grzegorz Rola requested to merge feature/transients into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -25,7 +25,9 @@
WP_Mock::wpFunction( 'get_locale' )
->andReturn( $existing_locale );
WP_Mock::wpFunction( 'wp_using_ext_object_cache')->andReturn( true );
$factory = new WPDesk_Basic_Requirement_Checker_Factory();
$checker = $factory->create_from_requirement_array( 'whatever', 'whatever', $requirements );
@@ -42,8 +44,6 @@
WP_Mock::passthruFunction( 'wp_create_nonce' );
WP_Mock::passthruFunction( 'admin_url' );
WP_Mock::wpFunction( 'wp_using_ext_object_cache')->andReturn( true );
$this->assertFalse( $checker->are_requirements_met(), '2 plugins required and there should be none activated' );
$this->expectOutputRegex( '/Flexible Checkout Fields/' );
Loading