fix(tests): ensure translations are unloaded on error
This commit is contained in:
committed by
Frédéric Guillot
parent
3df89f9df2
commit
e9f040d1c6
@@ -19,6 +19,12 @@ use Kanboard\Model\CategoryModel;
|
|||||||
|
|
||||||
class ProjectModelTest extends Base
|
class ProjectModelTest extends Base
|
||||||
{
|
{
|
||||||
|
protected function tearDown(): void
|
||||||
|
{
|
||||||
|
Translator::unload();
|
||||||
|
parent::tearDown();
|
||||||
|
}
|
||||||
|
|
||||||
public function testCreationForAllLanguages()
|
public function testCreationForAllLanguages()
|
||||||
{
|
{
|
||||||
$projectModel = new ProjectModel($this->container);
|
$projectModel = new ProjectModel($this->container);
|
||||||
|
|||||||
Reference in New Issue
Block a user