Skip to content

Commit

Permalink
Temporary comment out tests, which expects newer Rebol then is availa…
Browse files Browse the repository at this point in the history
…ble now
  • Loading branch information
Oldes committed Jun 1, 2023
1 parent 185caff commit 9993f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client-test.r3
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ foreach test [
[ assert-http 200 http://localhost:8081/humans.txt ]
[ assert-http/post 200 http://localhost:8081 {msg=hello} ]
[ assert-http/post 200 http://localhost:8081 [post [user-agent: "UA"] "hello"] ]
[ assert-http/post 200 http://localhost:8081/api/v2/do {token=SOME_SECRET&code=1%20%2B%202} ]
;These tests needs newer Rebol version then is available in Github actions now (automatically converts a map! to json)
; [ assert-http/post 200 http://localhost:8081/api/v2/do #(token: "SOME_SECRET" code: "[1 + 1]") ]
; [ assert-http/post 401 http://localhost:8081/api/v2/do #(token: "ELSE_SECRET" code: "[1 + 1]") ]
; [ assert-http/post 200 http://localhost:8081/api/v2/do {token=SOME_SECRET&code=1%20%2B%202} ]
][
print-horizontal-line
print [as-yellow "Assert:" mold/flat test]
Expand Down

0 comments on commit 9993f52

Please sign in to comment.