Commit Graph

4 Commits

Author SHA1 Message Date
Christoph Reiter 0b8a270bbb tests: port assertEquals() with delta to assertEqualsWithDelta()
assertEquals() in phpunit 9.5 no longer takes a delta parameter
and has assertEqualsWithDelta() as a replacement. This means
float get compared without a delta atm, and a recent phpunit
release (9.5.25) has made float comparisons stricter resulting in
test suite errors such as:

1) SubtaskTimeTrackingModelTest::testCalculateSubtaskTime
Total spent
Failed asserting that 3.3000000000000003 matches expected 3.3.
tests/units/Model/SubtaskTimeTrackingModelTest.php:186

This replaces all assertEquals() calls that pass a delta value
with assertEqualsWithDelta().
2022-10-10 18:57:22 -07:00
Oliver Buchmann daf39ee16a Change Due Date to Due Timestamp fixes #919 (#3249) 2017-05-10 16:42:34 -04:00
Frederic Guillot 8e56148a6d
Make sure that tags are duplicated for recurring tasks 2016-07-02 15:45:55 -04:00
Frederic Guillot 3fcc0cb918
Handle tags and tasks move/duplication to another project 2016-07-02 14:44:26 -04:00