diff --git a/module/VuFindTheme/tests/unit-tests/src/VuFindTest/ThemeInfoTest.php b/module/VuFindTheme/tests/unit-tests/src/VuFindTest/ThemeInfoTest.php index 76eab05b64b4b7efbfe8e563fe377f5b904f348f..35c17dff5bdb95393dc0bb524030968c0b3a4583 100644 --- a/module/VuFindTheme/tests/unit-tests/src/VuFindTest/ThemeInfoTest.php +++ b/module/VuFindTheme/tests/unit-tests/src/VuFindTest/ThemeInfoTest.php @@ -99,7 +99,14 @@ class ThemeInfoTest extends Unit\TestCase { $ti = $this->getThemeInfo(); $ti->setTheme('child'); - $this->assertEquals(['child' => ['extends' => 'parent'], 'parent' => ['extends' => false]], $ti->getThemeInfo()); + $expectedChild = include "{$this->fixturePath}/child/theme.config.php"; + $expectedParent = include "{$this->fixturePath}/parent/theme.config.php"; + $this->assertEquals('parent', $expectedChild['extends']); + $this->assertEquals(false, $expectedParent['extends']); + $this->assertEquals( + ['child' => $expectedChild, 'parent' => $expectedParent], + $ti->getThemeInfo() + ); } /**