File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ object Cookies extends cask.MainRoutes{
9
9
def storeCookies () = {
10
10
cask.Response (
11
11
" Cookies Set!" ,
12
- cookies = Seq (cask.Cookie (" username" , " the username " ))
12
+ cookies = Seq (cask.Cookie (" username" , " the_username " ))
13
13
)
14
14
}
15
15
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ object ExampleTests extends TestSuite{
21
21
val sess = requests.Session ()
22
22
sess.get(s " $host/read-cookie " , check = false ).statusCode ==> 400
23
23
sess.get(s " $host/store-cookie " )
24
- sess.get(s " $host/read-cookie " ).text() ==> " the username "
24
+ sess.get(s " $host/read-cookie " ).text() ==> " the_username "
25
25
sess.get(s " $host/read-cookie " ).statusCode ==> 200
26
26
sess.get(s " $host/delete-cookie " )
27
27
sess.get(s " $host/read-cookie " , check = false ).statusCode ==> 400
You can’t perform that action at this time.
0 commit comments