diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-25 15:38:39 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-01-25 15:38:39 +0000 |
commit | 5676499cebf5246a895a8d79d947ca62f7e5fbd8 (patch) | |
tree | 274adac096b830351e3c021dd9d5f5340953eac6 /test/integration/api_test | |
parent | 7ad46f7e04590b396e79888193585a697ca5cceb (diff) | |
download | redmine-5676499cebf5246a895a8d79d947ca62f7e5fbd8.tar.gz redmine-5676499cebf5246a895a8d79d947ca62f7e5fbd8.zip |
Remove deprecated @status=@ param used to get all users. @status=*@ should be used now. (#40124).
git-svn-id: https://svn.redmine.org/redmine/trunk@22635 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/api_test')
-rw-r--r-- | test/integration/api_test/users_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/integration/api_test/users_test.rb b/test/integration/api_test/users_test.rb index 2020b1644..e2799f829 100644 --- a/test/integration/api_test/users_test.rb +++ b/test/integration/api_test/users_test.rb @@ -97,13 +97,6 @@ class Redmine::ApiTest::UsersTest < Redmine::ApiTest::Base users = User.logged assert_equal users.size, json['users'].size - get '/users.json', headers: credentials('admin'), params: { status: ''} - assert_response :success - json = ActiveSupport::JSON.decode(response.body) - assert json.key?('users') - users = User.logged - assert_equal users.size, json['users'].size - get '/users.json', headers: credentials('admin'), params: { name: 'jsmith' } assert_response :success json = ActiveSupport::JSON.decode(response.body) |