stable
Clone or download
Read-only
No functional change. $ make tests-db SEED=1707916390 The command above should pass Why? - The test used a fixed tracker ID of 25 for milestone tracker, but if other tests insert 24 trackers before this one, then the "not milestone" tracker will also have ID = 25, which makes the test fail. To avoid that, we should insert both the "milestone" and the "not milestone" trackers, so they can never have the same ID. - I also took the opportunity of adding an assertion for the dao->delete(). fixes request #36829 PlanningDAO test is flaky Change-Id: I79be3f88767117758783c3f3d9ad2ffa9eb2578d
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/tests/integration/Planning/PlanningDAOTest.php | +10 | −23 | Go to diff View file |