Kanboard-Prod/tests
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
..
configs Rewrite integration tests to run with Docker containers 2016-06-25 14:34:46 -04:00
configtest Kanboard now requires PHP >= 7.2 since other versions are deprecated 2020-01-14 12:02:31 -08:00
integration Rename default branch from master to main 2022-08-11 21:57:19 -07:00
units tests: port assertEquals() with delta to assertEqualsWithDelta() 2022-10-10 18:57:22 -07:00
.htaccess .htaccess: Add compatibility for apache 2.4 2015-10-05 22:46:30 +02:00
Dockerfile Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.mysql.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.postgres.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
integration.sqlite.xml Run integration tests on Github Actions 2020-06-13 15:14:24 -07:00
units.mysql.xml Add automatic action to send a task by email 2015-06-20 10:48:47 -04:00
units.postgres.xml Setup GitHub Actions 2020-04-04 17:31:52 -07:00
units.sqlite.xml Add automatic action to send a task by email 2015-06-20 10:48:47 -04:00