New #2195 0002195: Création catégorie : ordre des attributs
This commit is contained in:
parent
b680ec6572
commit
50180e68ad
12 changed files with 215 additions and 28 deletions
|
|
@ -847,6 +847,7 @@ class Acc_LedgerTest extends TestCase
|
|||
$this->object->set_ledger_id(4);
|
||||
$this->object->input_new();
|
||||
$result=ob_get_contents();
|
||||
ob_end_clean();
|
||||
\Noalyss\Facility::save_file(__DIR__."/file", "acc_ledger-input_new.html", $result);
|
||||
$size=filesize(__DIR__."/file/acc_ledger-input_new.html");
|
||||
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ class Card_PropertyTest extends TestCase
|
|||
global $g_connection;
|
||||
$fiche=$this->getFiche();
|
||||
Card_Property::load($fiche);
|
||||
$this->assertEquals(count($fiche->attribut), 35, 'there are not 35 attributes');
|
||||
$this->assertEquals(count($fiche->attribut), 36, 'there are not 36 attributes');
|
||||
$fiche=new Fiche($g_connection);
|
||||
Card_Property::load($fiche);
|
||||
$this->assertTrue(empty($fiche->attribut),'Card property must be equals to 0 (unknown category ');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue