Kanboard-Prod/tests/units
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
..
Action tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
Analytic tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
Auth PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Core Use a HMAC to sign and validate CSRF tokens, instead of generating random ones and storing them in the session data 2022-09-17 17:23:41 -07:00
Decorator PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
EventBuilder Fix grammatical errors 2020-02-29 16:34:38 -08:00
Export Add tags to task export 2017-10-19 16:26:15 -07:00
ExternalLink Update regex to detect external links with attachments 2020-02-05 18:46:13 -08:00
Filter Fixes task assignee filter test 2019-08-27 20:28:58 -07:00
Formatter Avoid user enumeration by using avatar image url 2021-06-05 17:07:43 -07:00
Group Kanboard now requires PHP >= 7.2 since other versions are deprecated 2020-01-14 12:02:31 -08:00
Helper PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Job PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Locale Improve unit test for translation files 2016-11-06 11:41:32 -05:00
Middleware PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
Model tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
Notification Add class SubtaskListFormatter 2017-02-26 16:06:09 -05:00
Pagination Improve dashboard 2017-04-08 13:58:25 -04:00
ServiceProvider Offer the possibility to override internal formatter objects from plugins 2016-12-20 20:06:39 -05:00
Subscriber Add unit test RecurringTaskSubscriber 2016-07-23 20:58:16 -04:00
User Add aria-label to letter avatars 2020-10-04 10:42:01 -07:00
Validator Increase text fields length in several tables 2018-04-11 13:48:13 -07:00
Base.php PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
FunctionTest.php Add suggest menu for user mentions in text editor 2016-11-27 15:44:45 -05:00