diff --git a/library/ZendAfi/Form/Album.php b/library/ZendAfi/Form/Album.php index f89b9afe9328a4e5975a8585fa0981af8ed51bfb..c3d7f4f6adc6996e213a71711f8bd133a8bfcf57 100644 --- a/library/ZendAfi/Form/Album.php +++ b/library/ZendAfi/Form/Album.php @@ -160,7 +160,7 @@ class ZendAfi_Form_Album extends ZendAfi_Form { 'size' => 20]) ->addElement('text', 'provenance', ['label' => $this->_('Provenance'), - 'style' => 'width:440px;']) + 'style' => 'width:440px;', 'size' => 75]) ->addElement('text', 'duration', ['label' => $this->_('Durée totale'), @@ -177,7 +177,7 @@ class ZendAfi_Form_Album extends ZendAfi_Form { 'rubrique' => 'nature_doc']) ->addElement('text', 'distributor', ['label' => $this->_('Distributeur'), - 'style' => 'width:440px;']) + 'style' => 'width:440px;', 'size' => 75]) diff --git a/tests/library/Class/PanierNoticeTest.php b/tests/library/Class/PanierNoticeTest.php index 9db9b2eb8e5fd87acde5dae13fecd86365d97bb6..cc4fc133e863582517771745abc30e0a5086487e 100644 --- a/tests/library/Class/PanierNoticeTest.php +++ b/tests/library/Class/PanierNoticeTest.php @@ -181,7 +181,7 @@ class PanierNoticeWithThreeNoticesTest extends ModelTestCase { /** @test */ public function numberOfNoticesShouldBeThree() { - $this->assertEquals(3, $this->fictions->numberOfNotices()); + $this->assertEquals(3, Class_PanierNotice::Find(4)->numberOfNotices()); } /** @test */