mirror of
https://github.com/vale981/lack
synced 2025-03-05 09:21:39 -05:00
Fix the test of Lack.Request for the latest http-body.
This commit is contained in:
parent
06bfefe2d3
commit
e004344f37
1 changed files with 1 additions and 2 deletions
|
@ -53,8 +53,7 @@
|
||||||
(subtest-app "make-request"
|
(subtest-app "make-request"
|
||||||
(lambda (env)
|
(lambda (env)
|
||||||
(make-request env)
|
(make-request env)
|
||||||
`(200 nil (,(gethash "filename"
|
`(200 nil (,(third (assoc "file" (request-body-parameters (make-request env)) :test #'string=)))))
|
||||||
(third (assoc "file" (request-body-parameters (make-request env)) :test #'string=))))))
|
|
||||||
(multiple-value-bind (body status)
|
(multiple-value-bind (body status)
|
||||||
(dex:post (localhost)
|
(dex:post (localhost)
|
||||||
:content
|
:content
|
||||||
|
|
Loading…
Add table
Reference in a new issue