summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-02-15 23:38:55 +0000
committerGo MAEDA <maeda@farend.jp>2019-02-15 23:38:55 +0000
commita08b64dfbb616a56710cb55bf8edace76cd7059c (patch)
tree325d90a27e70b7c4893c00dfbb0171dcdcd1289a /test
parentce2047dbf3a690578f78adc337090990cf33323d (diff)
downloadredmine-a08b64dfbb616a56710cb55bf8edace76cd7059c.tar.gz
redmine-a08b64dfbb616a56710cb55bf8edace76cd7059c.zip
Ensure that the current language is 'en' in the test (#30718).
Patch by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17868 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/query_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index e180c3dae..5d6c82008 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -2274,6 +2274,7 @@ class QueryTest < ActiveSupport::TestCase
end
def test_project_statuses_values_should_return_only_active_and_closed_statuses
+ set_language_if_valid 'en'
query = IssueQuery.new(:project => nil, :name => '_')
project_status_filter = query.available_filters['project.status']
assert_not_nil project_status_filter