/** * Get the base path of the current theme. * * @return string */ private function getCurrentThemeBasePath() { return $this->themeManager->find(setting('core::template'))->getPath(); }
/** @test */ public function it_should_return_null_if_not_theme_found() { $theme = $this->repository->find('fakeTheme'); $this->assertNull($theme); }