Skip to content

Commit

Permalink
Only skip in Atomic.
Browse files Browse the repository at this point in the history
  • Loading branch information
zinigor committed Aug 7, 2024
1 parent cb821e1 commit fcfd8bd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ public function test_get_overrides_cache( $filter_name ) {
* @covers Jetpack_Modules_Overrides::get_module_override
*/
public function test_get_module_override( $filter_name ) {
$this->markTestSkipped( 'is unnecessary in Atomic environment.' );
if ( defined( 'IS_ATOMIC' ) && IS_ATOMIC ) {
$this->markTestSkipped( 'is unnecessary in Atomic environment.' );
}

$this->assertFalse( $this->instance->get_module_override( 'photon' ) );
$this->assertFalse( $this->instance->get_module_override( 'photon-cdn' ) );
Expand Down

0 comments on commit fcfd8bd

Please sign in to comment.