Skip to content
Snippets Groups Projects
Commit bc5c5e41 authored by llaffont's avatar llaffont
Browse files

Correction test décodage Marc21

parent a188762f
Branches
Tags
No related merge requests found
......@@ -239,8 +239,9 @@ class NoticeIntegrationMarc21CoupCavalierToUnimarcTest extends NoticeIntegration
/** @test */
public function getAllShouldReturnAllFields() {
$all = $this->notice_sgbd->getAll();
$this->assertEquals('Le coup du cavalier', $all['titre_princ']);
$this->assertEquals([ ['Longueur de la notice', 784],
$this->assertEquals([ ['Longueur de la notice', 805],
['Statut de la notice', 'n'],
['Type de document', 'am'],
['Niveau hiérarchique', 0],
......@@ -250,6 +251,7 @@ class NoticeIntegrationMarc21CoupCavalierToUnimarcTest extends NoticeIntegration
$all['label']);
$this->assertEquals('Quadruppani, Serge', $all['zones'][11]['champs'][0]['valeur']);
$this->assertEquals('ADU', trim($all['zones'][12]['champs'][14]['valeur']));
}
}
......
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