diff --git a/tests/application/modules/admin/controllers/CmsControllerTest.php b/tests/application/modules/admin/controllers/CmsControllerTest.php index b66f6a40ac4355388f4696c10c5e64193c5cfb0d..005b58f004b66ea8006c306bdfc9bca62522f8ea 100644 --- a/tests/application/modules/admin/controllers/CmsControllerTest.php +++ b/tests/application/modules/admin/controllers/CmsControllerTest.php @@ -2255,11 +2255,12 @@ class CmsControllerArticleWithUnknownLangueTraductionEditTest extends CmsControl public function setUp() { parent::setUp(); - Class_Article::getLoader() - ->newInstanceWithId(8) - ->setIdCat(23) - ->setLangue(null) - ->setTitre('Langue non spécifiée'); + $this->fixture('Class_Article', + ['id' => 8, + 'id_cat' => 23, + 'langue' => null, + 'titre' => 'Langue non spécifiée', + 'contenu' => 'unknown']); $this->dispatch('/admin/cms/edit/id/8/lang/fr'); }