Skip to content
Snippets Groups Projects
Commit fca1d8f3 authored by Laurent's avatar Laurent
Browse files

hotline #18512_cms_comments

Fix localization test
parent 50782e05
Branches
Tags
5 merge requests!715Master,!628Master,!625Hotline 6.59,!624Hotline 6.59,!616Hotline#16601 facets emplacement
......@@ -1574,6 +1574,8 @@ abstract class NoticeAjaxControllerLocalisationTestCase extends AbstractControll
Class_Exemplaire::beVolatile();
$file_system = Storm_Test_ObjectWrapper::mock()
->whenCalled('unlink')
->answers(true)
->whenCalled('file_exists')
->answers(true)
->whenCalled('getimagesize')
......@@ -1630,6 +1632,9 @@ class NoticeAjaxControllerNoLocalisationTest extends NoticeAjaxControllerLocalis
class NoticeAjaxControllerNoLocaltionForExemplaireTest extends NoticeAjaxControllerLocalisationTestCase {
public function setUp() {
parent::setUp();
Class_Localisation::deleteBy([]);
$this->fixture('Class_Exemplaire',
['id' => 1,
'id_bib' => 1,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment