diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/httptest.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/httptest.lua b/test/httptest.lua index d3a4dc0..96c9378 100644 --- a/test/httptest.lua +++ b/test/httptest.lua | |||
| @@ -216,8 +216,7 @@ io.write("testing manual basic auth: ") | |||
| 216 | request = { | 216 | request = { |
| 217 | url = "http://" .. host .. prefix .. "/auth/index.html", | 217 | url = "http://" .. host .. prefix .. "/auth/index.html", |
| 218 | headers = { | 218 | headers = { |
| 219 | authorization = "Basic " .. | 219 | authorization = "Basic " .. (socket.code.b64("luasocket:password")) |
| 220 | socket.code.base64.encode("luasocket:password") | ||
| 221 | } | 220 | } |
| 222 | } | 221 | } |
| 223 | expect = { | 222 | expect = { |
