Kanboard-Prod/tests/units/Model
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
..
ActionModelTest.php Added application and project roles validation for API procedure calls 2016-06-26 10:25:13 -04:00
BoardTest.php Implements check for duplicate default columns 2019-07-23 15:41:13 -07:00
CategoryModelTest.php Implements check for duplicate default categories 2019-07-23 15:41:13 -07:00
ColorModelTest.php Redesign task list view 2017-02-19 17:08:00 -05:00
ColumnModelTest.php Prevent people to remove swimlanes that contains tasks 2017-02-18 13:38:51 -05:00
ColumnMoveRestrictionModelTest.php Improve column restrictions 2016-09-11 18:32:47 -04:00
ColumnRestrictionModelTest.php Add column restrictions to custom project roles 2016-09-18 21:19:48 -04:00
CommentModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
ConfigModelTest.php Fix field too small for application settings 2016-12-02 20:49:30 -05:00
CurrencyTest.php fix(tests): use assertEqualsWithDelta() when checking currency rate 2022-10-29 21:11:15 -07:00
CustomFilterTest.php Add option to clone filters on project duplication 2019-07-17 14:32:16 -07:00
GroupMemberTest.php Do not show inactive users in group members dropdown 2018-05-07 10:48:43 -07:00
GroupModelTest.php Change groups list layout 2017-03-11 17:30:09 -05:00
InviteModelTest.php Add user invitations 2017-01-22 22:38:00 -05:00
LanguageTest.php Add the locale en_GB 2018-11-08 20:46:01 -08:00
LastLoginTest.php Rename all models 2016-05-28 19:48:22 -04:00
LinkTest.php Rename all models 2016-05-28 19:48:22 -04:00
NotificationModelTest.php Add class SubtaskListFormatter 2017-02-26 16:06:09 -05:00
PasswordResetTest.php Rename all models 2016-05-28 19:48:22 -04:00
ProjectActivityTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
ProjectDailyColumnStatsTest.php Rename all models 2016-05-28 19:48:22 -04:00
ProjectDailyStatsTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
ProjectDuplicationModelTest.php Replace last occurences of "private" with "personal" 2020-04-06 20:36:20 -07:00
ProjectFileTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
ProjectGroupRoleTest.php Rename all models 2016-05-28 19:48:22 -04:00
ProjectMetadataTest.php Rename all models 2016-05-28 19:48:22 -04:00
ProjectModelTest.php tests(odbc): skip ProjectModelTest::testCreationForAllLanguages due to bug in pdo_odbc 2022-10-29 21:11:15 -07:00
ProjectNotificationTypeTest.php Rename all models 2016-05-28 19:48:22 -04:00
ProjectPermissionModelTest.php Remove feature "Allow everybody to access to this project" 2017-10-27 16:16:11 -07:00
ProjectRoleModelTest.php Add column restrictions to custom project roles 2016-09-18 21:19:48 -04:00
ProjectRoleRestrictionModelTest.php Add project restriction to block task edition 2017-04-07 21:46:36 -04:00
ProjectTaskPriorityModelTest.php Handle priority for task and project duplication 2016-07-02 16:36:10 -04:00
ProjectUserRoleTest.php Remove feature "Allow everybody to access to this project" 2017-10-27 16:16:11 -07:00
SubtaskModelTest.php Update task time spent/estimated when removing a subtask 2023-02-13 20:52:39 -08:00
SubtaskPositionModelTest.php Create new class SubtaskPositionModel 2016-07-23 21:14:33 -04:00
SubtaskStatusModelTest.php Store PHP sessions in the database 2017-12-12 15:04:28 -08:00
SubtaskTaskConversionModelTest.php Create new class SubtaskTaskConversionModel 2016-07-23 21:22:24 -04:00
SubtaskTimeTrackingModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
SwimlaneModelTest.php Add per-project and per-swimlane task limits 2020-02-25 20:26:31 -08:00
TagDuplicationModelTest.php Duplicate tag color when duplicating projects 2018-10-02 11:12:36 -07:00
TagModelTest.php Allow to associate tags to colors 2018-08-11 10:15:13 +02:00
TaskCreationModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskDuplicationModelTest.php PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
TaskExternalLinkTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskFileModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskFinderModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskLinkModelTest.php Added internal task links to activity stream 2016-07-23 14:05:15 -04:00
TaskMetadataTest.php Rename all models 2016-05-28 19:48:22 -04:00
TaskModelTest.php Make sure that tags are duplicated for recurring tasks 2016-07-02 15:45:55 -04:00
TaskModificationModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskPositionModelTest.php PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
TaskProjectDuplicationModelTest.php PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
TaskProjectMoveModelTest.php PHP 8 Compatibility 2022-02-05 11:49:03 -08:00
TaskRecurrenceModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskStatusModelTest.php tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
TaskTagModelTest.php Duplicate tags when moving and duplicating tasks to another project 2021-06-07 19:36:08 -07:00
TimezoneTest.php Store PHP sessions in the database 2017-12-12 15:04:28 -08:00
TransitionTest.php Use assertEqualsWithDelta() to test time_spent 2023-02-16 18:23:20 -08:00
UserLockingTest.php Rename all models 2016-05-28 19:48:22 -04:00
UserMetadataTest.php Rename all models 2016-05-28 19:48:22 -04:00
UserModelTest.php Always trim the username before saving changes in the database 2023-02-12 19:30:23 -08:00
UserNotificationFilterTest.php Rename all models 2016-05-28 19:48:22 -04:00
UserNotificationTest.php Remove feature "Allow everybody to access to this project" 2017-10-27 16:16:11 -07:00
UserNotificationTypeTest.php Rename all models 2016-05-28 19:48:22 -04:00
UserUnreadNotificationTest.php Rename all models 2016-05-28 19:48:22 -04:00