/** * @test * @group manager */ public function testAddThemeLocationWithBadData() { $this->assertEquals(1, $this->themeManager->getInvalidThemesCount()); $addPath = themes_base_path() . '/../themes-test'; $this->themeManager->addThemeLocation($addPath); $this->assertNotEmpty($this->themeManager->getInvalidThemes()); $this->assertEquals(3, $this->themeManager->getInvalidThemesCount()); }