Follow up - a883bbadb3
- UserAgent interface unification is reflected in tests
This commit is contained in:
parent
6c569e5085
commit
022efe7921
1 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue