forked from wallabag/wallabag
Remove LiipThemeBundle
As baggy theme was removed and material is the only remaining theme, we don't need a theme switched anymore. So: - move all `*.twig` files from the material theme folder to the root - remove useless translations
This commit is contained in:
@ -11,7 +11,6 @@ use Symfony\Component\Console\Input\ArrayInput;
|
||||
use Symfony\Component\Console\Output\NullOutput;
|
||||
use Symfony\Component\HttpFoundation\Session\SessionInterface;
|
||||
use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface;
|
||||
use Wallabag\CoreBundle\Entity\Config;
|
||||
use Wallabag\UserBundle\Entity\User;
|
||||
|
||||
abstract class WallabagCoreTestCase extends WebTestCase
|
||||
@ -152,14 +151,6 @@ abstract class WallabagCoreTestCase extends WebTestCase
|
||||
return $this->getLoggedInUser()->getId();
|
||||
}
|
||||
|
||||
public function useTheme($theme)
|
||||
{
|
||||
$config = $this->getEntityManager()->getRepository(Config::class)->findOneByUser($this->getLoggedInUser());
|
||||
$config->setTheme($theme);
|
||||
$this->getEntityManager()->persist($config);
|
||||
$this->getEntityManager()->flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if Redis is installed.
|
||||
* If not, mark test as skip.
|
||||
|
||||
Reference in New Issue
Block a user