Commit Graph

12 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
Frédéric Guillot 0153cb33de Add command to remove project activities after one year 2017-12-01 11:54:02 -08:00
Frederic Guillot 14713b0ec7 Rename all models 2016-05-28 19:48:22 -04:00
Frederic Guillot a2e5d022e5 Clean up unit tests 2016-05-24 22:41:21 -04:00
Frederic Guillot 2eadfb2291 Refactor ProjectActivity model to use Filter and Formatter interface 2016-04-10 12:13:42 -04:00
Frederic Guillot 6ef83d0e05 Add unit test for transition model 2016-02-29 22:40:26 -05:00
Frederic Guillot 8e25c875f2 Add ProjecFile and TaskFile models 2016-02-14 15:25:16 -05:00
Frederic Guillot 3c57626918 Replace raw SQL query by PicoDb 2016-01-17 08:12:44 -05:00
Frederic Guillot 09da289c2f Move slack, hipchat and jabber integrations to plugins 2015-10-17 22:19:49 -04:00
Frederic Guillot 9153c6ff0d Move ProjectActivitySubscriber to a new notification type 2015-10-17 12:53:11 -04:00
Frederic Guillot 9c9ed02cd7 Change namespace to add Kanboard as prefix 2015-10-13 22:19:17 -04:00
Frederic Guillot 710f2c7bb0 Improve unit tests 2015-09-05 23:30:56 -04:00