Follow up - a883bbadb3 - UserAgent interface unification is reflected in tests

This commit is contained in:
Mantas Masalskis 2019-11-06 11:57:08 +02:00
parent 6c569e5085
commit 022efe7921

View file

@ -237,6 +237,7 @@ class UserAgentTest < ActiveSupport::TestCase
# delete / 200 # delete / 200
result = UserAgent.delete( result = UserAgent.delete(
"#{host}/test_basic_auth/delete/1", "#{host}/test_basic_auth/delete/1",
{},
{ {
user: 'basic_auth_user', user: 'basic_auth_user',
password: 'test123', password: 'test123',
@ -255,6 +256,7 @@ class UserAgentTest < ActiveSupport::TestCase
# delete / 401 # delete / 401
result = UserAgent.delete( result = UserAgent.delete(
"#{host}/test_basic_auth/delete/1", "#{host}/test_basic_auth/delete/1",
{},
{ {
user: 'basic_auth_user_not_existing', user: 'basic_auth_user_not_existing',
password: 'test<>123', password: 'test<>123',