File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
phpunit/functional/Glpi/Inventory/Assets Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -1647,7 +1647,13 @@ public function testDateInstallUpdate()
1647
1647
"date_install " => "2024-03-04 " ,
1648
1648
]));
1649
1649
1650
- //check computer-softwareverison relation is the same (ID)
1650
+ //check that no lock have been added
1651
+ $ lock = new \Lockedfield ();
1652
+ $ this ->assertFalse ($ lock ->getFromDBByCrit ([
1653
+ "itemtype " => \Item_SoftwareVersion::class,
1654
+ "items_id " => $ item_version ->fields ['id ' ],
1655
+ "field " => "date_install " ,
1656
+ ]));
1651
1657
}
1652
1658
1653
1659
public function testSubCategoryDictionnary ()
Original file line number Diff line number Diff line change @@ -412,6 +412,7 @@ public function handle()
412
412
$ software_version = new Item_SoftwareVersion ();
413
413
$ software_version ->update ([
414
414
"id " => $ db_software [$ key_w_version ]['id ' ],
415
+ "is_dynamic " => 1 ,
415
416
"date_install " => $ val ->date_install ,
416
417
], 0 );
417
418
}
You can’t perform that action at this time.
0 commit comments