forked from YokaiRick/akkoma
Fix incorrect test description
This commit is contained in:
parent
ccddedb504
commit
d9732fb7d3
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue