diff --git a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php index e3f803424fd3ef0b4fe31a15f7a5f324dd8b89a9..519a84701d629898db883347709ed8da506b6506 100644 --- a/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php +++ b/tests/application/modules/opac/controllers/NoticeAjaxControllerTest.php @@ -2219,6 +2219,7 @@ class NoticeAjaxControllerRessourceEpubPictoTypeTest extends AbstractControllerT 'type_doc_id' => Class_TypeDoc::EPUB, 'ressources' => [$this->fixture('Class_AlbumRessource', ['id' => 22, + 'titre' => 'Cowboy Bebop', 'fichier' => 'my.epub'])]]); $this->fixture('Class_Notice', diff --git a/tests/library/Class/Album/UsageConstraintTest.php b/tests/library/Class/Album/UsageConstraintTest.php index 75a16b6f17703c13a9b563f010fbd3fbb23d5efd..8bb6b0967abc84699ee343b58d5f2b0fb30c05e4 100644 --- a/tests/library/Class/Album/UsageConstraintTest.php +++ b/tests/library/Class/Album/UsageConstraintTest.php @@ -25,7 +25,8 @@ class Class_Album_UsageConstraintTest extends Storm_Test_ModelTestCase { Storm_Model_Loader::defaultToVolatile(); $this->fixture('Class_Album', - ['id' => 23]); + ['id' => 23, + 'titre' => 'cybersecurity explained']); $this->fixture('Class_Album_Item', diff --git a/tests/library/Class/AlbumRessourceTest.php b/tests/library/Class/AlbumRessourceTest.php index 3d7da1ec745d6d88232c0fd65fe507e7b9308be5..b7eccd32b8ca8ba5ac1fd7a7aed0b4e76ca06740 100644 --- a/tests/library/Class/AlbumRessourceTest.php +++ b/tests/library/Class/AlbumRessourceTest.php @@ -144,7 +144,9 @@ class AlbumRessourceLoaderTest extends ModelTestCase { 'id_album' => 999, 'ordre' => 6]); - $album = $this->fixture('Class_Album', ['id' => 999]); + $album = $this->fixture('Class_Album', + ['id' => 999, + 'titre' => 'Harlock']); $this->assertEquals(7,Class_AlbumRessource::getNextOrderFor($album)); } diff --git a/tests/library/ZendAfi/View/Helper/RenderAlbumTest.php b/tests/library/ZendAfi/View/Helper/RenderAlbumTest.php index 1e670a561ba7ae50a269e730f7f6a3b6ed66b7bf..fd1ec5088cdee25f45ba680b50f9723f08f83a76 100644 --- a/tests/library/ZendAfi/View/Helper/RenderAlbumTest.php +++ b/tests/library/ZendAfi/View/Helper/RenderAlbumTest.php @@ -208,7 +208,7 @@ class ZendAfi_View_Helper_RenderAlbumCyberlibrisTest extends ZendAfi_View_Helper $this->book = $this->fixture('Class_Album', ['id' => 3, - 'libelle' => 'Totem et Thora', + 'titre' => 'Totem et Thora', 'id_origine' => '88817216', 'external_uri' => 'http://www.bibliovox.com/bookdetails.aspx?docID=88817216']) ->beCyberlibris(); diff --git a/tests/scenarios/Manager/ManagerTest.php b/tests/scenarios/Manager/ManagerTest.php index 844115964cb2dd22717d37fef0ab30d87bc6dd50..47836055925e473c8f2268c369ac6710baa0b1af 100644 --- a/tests/scenarios/Manager/ManagerTest.php +++ b/tests/scenarios/Manager/ManagerTest.php @@ -394,7 +394,7 @@ class ManagerHeaderActionsTest extends Admin_AbstractControllerTestCase { $this->fixture('Class_Album', ['id' => 32, - 'libelle' => 'Tokyo ghoul']); + 'titre' => 'Tokyo ghoul']); $this->dispatch('/admin/album/edit_album/id/32', true);