Work around brittle timestamp comparisons in tests #112
Labels
No labels
admin tools
api
bug
documentation
duplicate
enhancement
feature
help wanted
in progress
internals
invalid
packaging
question
testing
trivial
wontfix
No project
No assignees
1 participant
Notifications
Due date
-
Dependencies
No dependencies set.
Reference: MensBeam/Arsse#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feed and database tests can sometimes fail because timestamps being compared against expectations are off by one second. I'm not certain how this can be worked around for PHPUnit database tests (see issue #111), but for non-database tests, we can and should fudge the date: second precision is not required for any tests, and likely will never be.