diff --git a/tests/application/modules/admin/controllers/CmsControllerTest.php b/tests/application/modules/admin/controllers/CmsControllerTest.php index 0feee7d131f3647bfaad1c39dba308c859c37fb2..01290df095f0e134a8f59addc35f852a7d84570b 100644 --- a/tests/application/modules/admin/controllers/CmsControllerTest.php +++ b/tests/application/modules/admin/controllers/CmsControllerTest.php @@ -915,6 +915,12 @@ class CmsControllerArticleConcertEditActionPostTest extends CmsControllerWithPer } + public function tearDown() { + Class_WebService_Vignette::setFileSystem(null); + parent::tearDown(); + } + + /** @test */ public function erikTruffazShouldBeIndexed() { $this->assertNotNull(Class_Notice::findFirstBy(['alpha_titre' =>'ERIK TRUFFAZ LADYLAND QUARTET EN CONCERT'])); @@ -1045,7 +1051,7 @@ class CmsControllerArticleConcertEditActionPostTest extends CmsControllerWithPer /** @test */ - public function langueRecordThumbShouldBeSet() { + public function articleRecordThumbnailShouldBeSet() { $this->assertContains('temp/vignettes_titre/ERIKTRUFFAZLADYLANDQUARTETENCONCERT-4-TOM----8.jpg', Class_Article::find(4)->getNotice()->getUrlVignette()); } }