Skip to content

Commit

Permalink
test les réponses http des endpoints DTS avec github CI (sur le serve…
Browse files Browse the repository at this point in the history
…ur basex)
  • Loading branch information
philippepons committed Mar 7, 2024
1 parent aa15edf commit 4c858ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/dots-CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- name: Start BaseX Server and Run Init Tests on Endpoints
run: |
./basex/bin/basexhttp &
./basex/bin/basex ./tests/launcher.xq
./basex/bin/basexhttpstop &
8 changes: 4 additions & 4 deletions tests/launcher.xq
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import module namespace initTests = "https://github.com/chartes/dots/initTests"


(: :)
initTests:check-value-response200("https://dev.chartes.psl.eu/dots/api/dts/"),
initTests:check-value-response200("https://dev.chartes.psl.eu/dots/api/dts/collection"),
initTests:check-value-response400("https://dev.chartes.psl.eu/dots/api/dts/navigation"),
initTests:check-value-response400("https://dev.chartes.psl.eu/dots/api/dts/document")
initTests:check-value-response200("http://localhost:8080/api/dts"),
initTests:check-value-response200("http://localhost:8080/api/dts/collection"),
initTests:check-value-response400("http://localhost:8080/api/dts/navigation"),
initTests:check-value-response400("http://localhost:8080/api/dts/document")

0 comments on commit 4c858ab

Please sign in to comment.