diff --git a/tests/LumberjackTest.php b/tests/LumberjackTest.php index 27f0c4a..25603ab 100644 --- a/tests/LumberjackTest.php +++ b/tests/LumberjackTest.php @@ -32,12 +32,12 @@ public function testGetExcludedSiteTreeClassNames() $standard = $this->objFromFixture(LumberjackStub::class, 'standard'); $excluded = $standard->getExcludedSiteTreeClassNames(); - $excluded = $this->filteredClassNames($excluded, self::$extra_dataobjects); + $excluded = $this->filteredClassNames($excluded, LumberjackTest::$extra_dataobjects); $this->assertEquals($excluded, array(LumberjackHiddenStub::class => LumberjackHiddenStub::class)); Config::modify()->set(SiteTree::class, 'show_in_sitetree', false); $excluded = $standard->getExcludedSiteTreeClassNames(); - $excluded = $this->filteredClassNames($excluded, self::$extra_dataobjects); + $excluded = $this->filteredClassNames($excluded, LumberjackTest::$extra_dataobjects); $this->assertEquals( $excluded, array(