Skip to content

Commit

Permalink
fix: Remove unnecessary code in settings_test.exs which breaks floki …
Browse files Browse the repository at this point in the history
…0.36+
  • Loading branch information
JakobLichterfeld committed Oct 27, 2024
1 parent ba32b07 commit 91f23a3
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions test/teslamate_web/live/settings_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -214,20 +214,6 @@ defmodule TeslaMateWeb.SettingsLiveTest do
html
|> Floki.parse_document!()
|> Floki.find("form .field-body")
|> Enum.find(
&match?(
{"div", _,
[
{_, _,
[
{_, _,
[{_, _, [{"select", [{"id", "global_settings_language"}, _], _}]}]},
_
]}
]},
&1
)
)
|> Floki.find("p.help")
|> Floki.text()

Expand Down

0 comments on commit 91f23a3

Please sign in to comment.