Commit e12a60ec authored by Laurent's avatar Laurent
Browse files

dev #74958 test fix

parent 21ca2ebf
......@@ -54,16 +54,6 @@ abstract class Cosmo_DataProfileControllerTestCase extends CosmoControllerTestCa
['id' => 'id_article_periodique',
'valeur' => null,
'liste' => "0:aucun\r\n1:pergame\r\n2:opsys indexpresse\r\n3:Koha\r\n4:Orphée"]);
$this->fixture('Class_CosmoVar',
['id' => 'champ_code_barres',
'valeur' => null,
'liste' => "f:995$f\r\nh:995$h\r\nb:995$b\r\n997:997$a\r\n852:852$g\r\na:995$a\r\n999:999$i\r\n996:996$f\r\n949:949$6"]);
$this->fixture('Class_CosmoVar',
['id' => 'champ_cote',
'valeur' => null,
'liste' => "k:995$k\r\nf:995$f"]);
}
......@@ -292,7 +282,7 @@ class Cosmo_DataProfileControllerEditUnimarcKohaTest extends Cosmo_DataProfileCo
/** @test */
public function itemCodebarreIn949Dollar6ShouldBePresent() {
$this->assertXPath('//form//select[@id="champ_code_barres"]/option[@value="949"][@label="949$6"]');
$this->assertXPath('//form//select[@id="champ_code_barres"]/option[@value="949"][contains(@label,"949$6")]');
}
......
......@@ -206,7 +206,7 @@ class IntProfilDonneesLoader extends Storm_Model_Loader {
$values['852'] = '852$g (' . $this->_('obsolète') .')';
$values['999'] = '999$i (' . $this->_('obsolète') .')';
$values['996'] = '996$f (' . $this->_('obsolète') .')';
$values['949'] = '949$a (' . $this->_('obsolète') .')';
$values['949'] = '949$6 (' . $this->_('obsolète') .')';
return $values;
}
......
Markdown is supported
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