Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
renatonascalves committed Apr 2, 2024
1 parent c1e932b commit 1da13d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Feature/FullPageCache404Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function test_feature_is_disabled_if_ssl_is_off(): void {
*/
public function test_feature_is_disabled_if_object_cache_is_not_in_use(): void {

if ( ! wp_using_ext_object_cache() ) {
if ( wp_using_ext_object_cache() ) {
$this->markTestSkipped( 'This test requires that an external object cache is in use.' );
}

Expand Down Expand Up @@ -113,7 +113,7 @@ public function test_feature_is_disabled_if_object_cache_is_not_in_use(): void {
*/
public function test_full_page_cache_404_returns_cache(): void {

if ( ! wp_using_ext_object_cache() ) {
if ( wp_using_ext_object_cache() ) {
$this->markTestSkipped( 'This test requires that an external object cache is in use.' );
}

Expand Down

0 comments on commit 1da13d0

Please sign in to comment.