Skip to content

Commit

Permalink
rename updateIndexes to update_list_seq for clarity #145
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsonic committed Sep 7, 2023
1 parent 80c81c3 commit 36f85c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/app_web/live/app_live_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ defmodule AppWeb.AppLiveTest do
assert render_hook(view, "removeHighlight", %{"id" => item.id})

# reorder items:
render_hook(view, "updateIndexes", %{
render_hook(view, "update_list_seq", %{
"seq" => "#{item.cid},#{item2.cid},#{item3.cid}"
})

Expand Down
2 changes: 1 addition & 1 deletion test/app_web/live/stats_live_test.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
defmodule AppWeb.StatsLiveTest do
alias App.DateTimeHelper
# alias App.DateTimeHelper
use AppWeb.ConnCase, async: true
alias App.{Item, Timer}
import Phoenix.LiveViewTest
Expand Down

0 comments on commit 36f85c6

Please sign in to comment.