Fix incorrect test description
This commit is contained in:
parent
ccddedb504
commit
d9732fb7d3
|
@ -46,7 +46,7 @@ defmacro assert_error_when_disable_push(do: yield) do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "creates push subscription" do
|
describe "creates push subscription" do
|
||||||
test "returns error when push disabled ", %{conn: conn} do
|
test "does not return unsupported types", %{conn: conn} do
|
||||||
assert_error_when_disable_push do
|
assert_error_when_disable_push do
|
||||||
conn
|
conn
|
||||||
|> post("/api/v1/push/subscription", %{subscription: @sub})
|
|> post("/api/v1/push/subscription", %{subscription: @sub})
|
||||||
|
|
Loading…
Reference in New Issue