From: Go MAEDA Date: Wed, 13 Nov 2019 09:49:52 +0000 (+0000) Subject: Fix that QueriesControllerTest fails due to r19065 (#16904). X-Git-Tag: 4.1.0~39^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=30fd23b9175e68b618c9dbb9bce4a9ca6ba7bd22;p=redmine.git Fix that QueriesControllerTest fails due to r19065 (#16904). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19067 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 335632cba..866495f2c 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -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