fix(tests): ensure translations are unloaded on error

This commit is contained in:
Joe Nahmias 2022-09-01 23:51:49 -04:00 committed by Frédéric Guillot
parent 3df89f9df2
commit e9f040d1c6
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ use Kanboard\Model\CategoryModel;
class ProjectModelTest extends Base
{
protected function tearDown(): void
{
Translator::unload();
parent::tearDown();
}
public function testCreationForAllLanguages()
{
$projectModel = new ProjectModel($this->container);