File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
tests/ElasticApmTests/UnitTests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,10 @@ final class AgentEnabledConfigUnitTest extends TestCaseBase
3636 public function test (): void
3737 {
3838 $ configForTests = ConfigUtilForTests::read (/* additionalConfigSource */ null , NoopLoggerFactory::singletonInstance ());
39- $ agentEnabledConfigPhpPartDefault = AllOptionsMetadata::get ()[OptionNames::ENABLED ]->defaultValue ();
4039 if ($ configForTests ->agentEnabledConfigDefault === null ) {
41- self ::assertSame (true , $ agentEnabledConfigPhpPartDefault );
42- } else {
43- self ::assertSame ($ configForTests ->agentEnabledConfigDefault , $ agentEnabledConfigPhpPartDefault );
40+ self ::dummyAssert ();
41+ return ;
4442 }
43+ self ::assertSame ($ configForTests ->agentEnabledConfigDefault , AllOptionsMetadata::get ()[OptionNames::ENABLED ]->defaultValue ());
4544 }
4645}
You can’t perform that action at this time.
0 commit comments