diff options
author | Sean McGivern <sean@gitlab.com> | 2019-03-06 12:26:44 +0000 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-03-06 13:40:03 +0000 |
commit | 8a49eeed6db026b0454c2119ab18b0b09d9661ff (patch) | |
tree | e55b5e4b938f687e85c6c8739f5debe7ebd5add5 /app/models | |
parent | f100c9ba158a0ab6f4edaa1de73e107737d4a9d0 (diff) | |
download | gitlab-ce-8a49eeed6db026b0454c2119ab18b0b09d9661ff.tar.gz |
Add failing test for milestone with far-future date
When looking for upcoming milestones, we compare the milestone's due
date to `NOW()`. However, the due date is a date and `NOW()` is a
timestamp, and in Postgres, timestamps can't extend as far in the future
as dates can.
This test exposes the issue.
Diffstat (limited to 'app/models')
0 files changed, 0 insertions, 0 deletions