Kanboard-Prod/tests/units
jnahmias 83a8415d99 Use assertEqualsWithDelta() to test time_spent
Timing, clock skew, and network conditions can cause slight skew in the generated/expected timestamps in the unit test vs. actual recorded timestamps in the database. This can cause flakiness in the tests due to sporadic failures when things don't perfectly align. To fix this, we change assertEquals() to assertEqualsWithDelta() with a small (3 second) delta to account for this potential delay.
2023-02-16 18:23:20 -08: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 Use assertEqualsWithDelta() to test time_spent 2023-02-16 18:23:20 -08: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 tests: configure unit tests to run on MSSQL [odbc/dblib] 2022-10-29 21:11:15 -07:00
FunctionTest.php Add suggest menu for user mentions in text editor 2016-11-27 15:44:45 -05:00