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