]> source.dussan.org Git - redmine.git/commitdiff
Fix that QueriesControllerTest fails due to r19065 (#16904).
authorGo MAEDA <maeda@farend.jp>
Wed, 13 Nov 2019 09:49:52 +0000 (09:49 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 13 Nov 2019 09:49:52 +0000 (09:49 +0000)
Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@19067 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/queries_controller_test.rb

index 335632cba457c4f7112481750458f585b342e181..866495f2c55fcac041a8e82114225d489e5f0147 100644 (file)
@@ -775,7 +775,7 @@ class QueriesControllerTest < Redmine::ControllerTest
     assert_equal 'application/json', response.content_type
     json = ActiveSupport::JSON.decode(response.body)
 
-    assert_equal 6, json.count
+    assert_equal 7, json.count
     # "me" value should not be grouped
     assert_include ["<< me >>", "me"], json
     assert_include ["Dave Lopper", "3", "active"], json