Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
leandrocp committed Jan 17, 2025
1 parent 5ebd38c commit 4162f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/beacon/live_admin/live/page_editor_live/new_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule Beacon.LiveAdmin.PageEditorLive.NewTest do

{path, flash} = assert_redirect(live)

assert path =~ ~r"^/admin/site_a/pages/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
assert path =~ ~r"^/admin/site_a/pages/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\?editor=code$"
assert flash["info"] == "Page saved successfully"
end

Expand Down

0 comments on commit 4162f29

Please sign in to comment.