From 36f85c69e9c925c7de6945ef977fd231106b7eb7 Mon Sep 17 00:00:00 2001 From: nelsonic Date: Thu, 7 Sep 2023 10:36:39 +0100 Subject: [PATCH] rename updateIndexes to update_list_seq for clarity #145 --- test/app_web/live/app_live_test.exs | 2 +- test/app_web/live/stats_live_test.exs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/app_web/live/app_live_test.exs b/test/app_web/live/app_live_test.exs index 0655dbd7..3986622b 100644 --- a/test/app_web/live/app_live_test.exs +++ b/test/app_web/live/app_live_test.exs @@ -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}" }) diff --git a/test/app_web/live/stats_live_test.exs b/test/app_web/live/stats_live_test.exs index 36b240ed..d418219c 100644 --- a/test/app_web/live/stats_live_test.exs +++ b/test/app_web/live/stats_live_test.exs @@ -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