Fixed assertion for postgresql and sqlite (#8842).
git-svn-id: http://svn.redmine.org/redmine/trunk@12480 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
3c540594dc
commit
7087dbb5b4
|
@ -466,7 +466,7 @@ class QueryTest < ActiveSupport::TestCase
|
||||||
def test_operator_date_greater_than_with_timestamp
|
def test_operator_date_greater_than_with_timestamp
|
||||||
query = IssueQuery.new(:name => '_')
|
query = IssueQuery.new(:name => '_')
|
||||||
query.add_filter('updated_on', '>=', ['2011-07-10T19:13:52'])
|
query.add_filter('updated_on', '>=', ['2011-07-10T19:13:52'])
|
||||||
assert_match /issues\.updated_on > '2011-07-10 19:13:51'/, query.statement
|
assert_match /issues\.updated_on > '2011-07-10 19:13:51(\.0+)?'/, query.statement
|
||||||
find_issues_with_query(query)
|
find_issues_with_query(query)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue