diff --git a/tests/library/Class/DecodageUnimarcTest.php b/tests/library/Class/DecodageUnimarcTest.php index f5c0d77fd8e0ba4b1f2c99aa5c7bdff70c2ca743..7c044daf7819c963adc06fb271705cd92d95d5b3 100644 --- a/tests/library/Class/DecodageUnimarcTest.php +++ b/tests/library/Class/DecodageUnimarcTest.php @@ -281,32 +281,30 @@ class DecodageUnimarcConcertoTest extends PHPUnit_Framework_TestCase { ->whenCalled('findFirstBy') ->with(['where' => "MATCH(formes) AGAINST('ROCHESTERxPHILHARMONICxORCHESTRA' IN BOOLEAN MODE)"]) - ->answers($orchestra) - - ->beStrict(); + ->answers($orchestra); Class_CodifAuteurFonction::newInstanceWithId('000', ['libelle' => 'On sait pas']); Class_CodifAuteurFonction::newInstanceWithId('545', ['libelle' => 'Zikos']); $this->assertEquals([ ['id' => 3, - 'libelle' => 'Sergueï Vassilievitch RACHMANINOV <font color="#666666">(Fonction indéterminée)</font>', + 'libelle' => 'Sergueï Vassilievitch RACHMANINOV (Fonction indéterminée)', 'url' => BASE_URL.'/recherche/simple/code_rebond/A3'], ['id' => 3, - 'libelle' => 'Sergueï Vassilievitch RACHMANINOV <font color="#666666">(Compositeur)</font>', + 'libelle' => 'Sergueï Vassilievitch RACHMANINOV (Compositeur)', 'url' => BASE_URL.'/recherche/simple/code_rebond/A3'], ['id' => 4, - 'libelle' => 'Jon NAKAMATSU <font color="#666666">(Musicien)</font>', + 'libelle' => 'Jon NAKAMATSU (Musicien)', 'url' => BASE_URL.'/recherche/simple/code_rebond/A4'], ['id' => 5, - 'libelle' => 'Christopher SEAMAN <font color="#666666">(Chef d\'orchestre)</font>', + 'libelle' => 'Christopher SEAMAN (Chef d\'orchestre)', 'url' => BASE_URL.'/recherche/simple/code_rebond/A5'], ['id' => 6, - 'libelle' => 'ROCHESTER PHILHARMONIC ORCHESTRA <font color="#666666">(Musicien)</font>', + 'libelle' => 'ROCHESTER PHILHARMONIC ORCHESTRA (Musicien)', 'url' => BASE_URL.'/recherche/simple/code_rebond/A6'] ], $this->concerto->getAuteursUnimarc(false, true));