Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Commit

Permalink
Test: Fix ElixirLS warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Ceolin committed Jul 8, 2024
1 parent 8ebb9bd commit 2052155
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions test/support/fixtures/content_fixtures.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ defmodule Zoonk.Fixtures.Content do
alias Zoonk.Content.Course
alias Zoonk.Content.CourseUser
alias Zoonk.Content.Lesson
alias Zoonk.Content.LessonStep
alias Zoonk.Content.StepOption
alias Zoonk.Content.UserLesson
alias Zoonk.Repo
alias ZoonkWeb.Plugs.Translate
Expand Down
2 changes: 1 addition & 1 deletion test/support/upload_helper.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defmodule ZoonkWeb.TestHelpers.Upload do
@doc """
Asserts a file is being uploaded.
"""
@spec assert_file_upload(Phoenix.LiveView.live(), String.t()) :: String.t()
@spec assert_file_upload(Phoenix.LiveView.unsigned_params(), String.t()) :: String.t()
def assert_file_upload(lv, id) do
files = get_files()
input = file_input(lv, "#upload-form-#{id}", :file, files)
Expand Down

0 comments on commit 2052155

Please sign in to comment.