mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 02:16:36 +00:00
fix test
This commit is contained in:
parent
e9cca35a54
commit
f903f8442a
1 changed files with 0 additions and 7 deletions
|
@ -39,13 +39,6 @@ defmodule FarsideTest do
|
||||||
assert conn.status == 200
|
assert conn.status == 200
|
||||||
end
|
end
|
||||||
|
|
||||||
test "/ping" do
|
|
||||||
conn = test_conn("/ping")
|
|
||||||
assert conn.state == :sent
|
|
||||||
assert conn.status == 200
|
|
||||||
assert conn.resp_body == "PONG"
|
|
||||||
end
|
|
||||||
|
|
||||||
test "/:service" do
|
test "/:service" do
|
||||||
services_json = Application.fetch_env!(:farside, :services_json)
|
services_json = Application.fetch_env!(:farside, :services_json)
|
||||||
{:ok, file} = File.read(services_json)
|
{:ok, file} = File.read(services_json)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue