summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorSean McGivern <sean@gitlab.com>2019-03-06 12:26:44 +0000
committerSean McGivern <sean@gitlab.com>2019-03-06 13:40:03 +0000
commit8a49eeed6db026b0454c2119ab18b0b09d9661ff (patch)
treee55b5e4b938f687e85c6c8739f5debe7ebd5add5 /app/models
parentf100c9ba158a0ab6f4edaa1de73e107737d4a9d0 (diff)
downloadgitlab-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