Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
joshday committed Oct 11, 2023
1 parent e4b7aea commit 11bc771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@ end
#-----------------------------------------------------------------------------# test routes
@testset "Server Routes" begin
SimulationService.with_server() do url
@testset "/" begin
res = HTTP.get(url)
@testset "/health" begin
res = HTTP.get("$url/health")
@test res.status == 200
@test JSON3.read(res.body).status == "ok"
end
Expand Down

0 comments on commit 11bc771

Please sign in to comment.