File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ defmodule PlausibleWeb.FaviconTest do
145
145
end
146
146
147
147
describe "Fallback to placeholder icon" do
148
- @ placholder_icon File . read! ( "priv/placeholder_favicon.ico " )
148
+ @ placeholder_icon File . read! ( "priv/placeholder_favicon.svg " )
149
149
150
150
test "falls back to placeholder when DDG returns a non-2xx response" , % { plug_opts: plug_opts } do
151
151
expect (
@@ -163,7 +163,7 @@ defmodule PlausibleWeb.FaviconTest do
163
163
164
164
assert conn . halted
165
165
assert conn . status == 200
166
- assert conn . resp_body == @ placholder_icon
166
+ assert conn . resp_body == @ placeholder_icon
167
167
end
168
168
169
169
test "falls back to placeholder in case of a network error" , % { plug_opts: plug_opts } do
@@ -181,7 +181,7 @@ defmodule PlausibleWeb.FaviconTest do
181
181
182
182
assert conn . halted
183
183
assert conn . status == 200
184
- assert conn . resp_body == @ placholder_icon
184
+ assert conn . resp_body == @ placeholder_icon
185
185
end
186
186
187
187
test "falls back to placeholder when DDG returns a broken image response" , % {
@@ -201,7 +201,7 @@ defmodule PlausibleWeb.FaviconTest do
201
201
202
202
assert conn . halted
203
203
assert conn . status == 200
204
- assert conn . resp_body == @ placholder_icon
204
+ assert conn . resp_body == @ placeholder_icon
205
205
end
206
206
end
207
207
end
You can’t perform that action at this time.
0 commit comments