Rails5 mysql fix milliseconds problem in pull request importer spec

This commit is contained in:
Jasper Maes 2018-07-08 12:42:37 +02:00
parent 96eb6fd33b
commit d17e131f68
2 changed files with 8 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
title: Rails5 mysql fix milliseconds problem in pull request importer spec
merge_request: 20475
author: Jasper Maes
type: fixed

View File

@ -27,9 +27,9 @@ describe Gitlab::GithubImport::Importer::PullRequestsImporter do
milestone: double(:milestone, number: 4),
user: double(:user, id: 4, login: 'alice'),
assignee: double(:user, id: 4, login: 'alice'),
created_at: Time.zone.now,
updated_at: Time.zone.now,
merged_at: Time.zone.now
created_at: 1.second.ago,
updated_at: 1.second.ago,
merged_at: 1.second.ago
)
end