mirror of
https://github.com/redmine/redmine.git
synced 2026-03-06 04:21:23 +01:00
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:
@@ -466,7 +466,7 @@ class QueryTest < ActiveSupport::TestCase
|
||||
def test_operator_date_greater_than_with_timestamp
|
||||
query = IssueQuery.new(:name => '_')
|
||||
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)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user