fix CRLF for login method
This commit is contained in:
parent
4f3292fee8
commit
62cb13fe49
1 changed files with 3 additions and 4 deletions
|
@ -79,7 +79,7 @@ class FakeTunnelConnector
|
|||
end
|
||||
|
||||
def ok(body = 'Success')
|
||||
body
|
||||
body
|
||||
end
|
||||
|
||||
def ok_headers
|
||||
|
@ -119,8 +119,7 @@ class FakeTunnelConnector
|
|||
end
|
||||
|
||||
def login
|
||||
body = '{
|
||||
"token":"3b51619a125d90cd0778bd4c02cd7be34de6dc9268eecd25"}'
|
||||
ok(body)
|
||||
body = '{"token":"3b51619a125d90cd0778bd4c02cd7be34de6dc9268eecd25"}'
|
||||
ok(body) + "\r\n"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue