Skip to content

Commit 5314221

Browse files
committed
test: improve readability
1 parent 1afccab commit 5314221

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/web_push_elixir_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule WebPushElixirTest do
22
use ExUnit.Case
33

4-
@subscription ~c"{\"endpoint\":\"http://localhost:4040/some-push-service\",\"keys\":{\"p256dh\":\"BIPUL12DLfytvTajnryr2PRdAgXS3HGKiLqndGcJGabyhHheJYlNGCeXl1dn18gSJ1WAkAPIxr4gK0_dQds4yiI=\",\"auth\":\"FPssNDTKnInHVndSTdbKFw==\"}}"
4+
@subscription '{"endpoint":"http://localhost:4040/some-push-service","keys":{"p256dh":"BNcRdreALRFXTkOOUHK1EtK2wtaz5Ry4YfYCA_0QTpQtUbVlUls0VJXg7A8u-Ts1XbjhazAkj7I99e8QcYP7DkM=","auth":"tBHItJI5svbpez7KI4CCXg=="}}'
55

66
test "it should send notification" do
77
%{
@@ -60,7 +60,7 @@ defmodule WebPushElixirTest do
6060

6161
assert [
6262
{"cache-control", "max-age=0, private, must-revalidate"},
63-
{"content-length", "887"},
63+
{"content-length", "916"},
6464
{"content-type", "application/x-javascript"},
6565
{"date", <<_date::binary>>},
6666
{"server", "Cowboy"}

0 commit comments

Comments
 (0)