Skip to content

Commit

Permalink
Added an exception for Atomic.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Aug 7, 2024
1 parent 7246097 commit 709c0ab
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ public function test_get_overrides_cache( $filter_name ) {
'photon' => 'active',
'photon-cdn' => 'active',
);

if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {

// Atomic does not override either.
$expected = array();
}
$this->assertSame( $expected, $this->instance->get_overrides() );

add_filter( $filter_name, array( $this, 'force_inactive_module' ) );
Expand Down

0 comments on commit 709c0ab

Please sign in to comment.