From 725df0552189a1b77b3b35ea82a3bf3fc454ba63 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 29 Jan 2023 13:05:01 -0500 Subject: [PATCH] fix aliases --- test/support/fixtures.ex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/support/fixtures.ex b/test/support/fixtures.ex index 6c0be31c..ae5f8f2b 100644 --- a/test/support/fixtures.ex +++ b/test/support/fixtures.ex @@ -21,8 +21,8 @@ defmodule Cannery.Fixtures do def unique_user_email, do: "user#{System.unique_integer()}@example.com" def valid_user_password, do: "hello world!" - @spec user_fixture() :: Accounts.User.t() - @spec user_fixture(attrs :: map()) :: Accounts.User.t() + @spec user_fixture() :: User.t() + @spec user_fixture(attrs :: map()) :: User.t() def user_fixture(attrs \\ %{}) do attrs |> Enum.into(%{ @@ -33,8 +33,8 @@ defmodule Cannery.Fixtures do |> unwrap_ok_tuple() end - @spec admin_fixture() :: Accounts.User.t() - @spec admin_fixture(attrs :: map()) :: Accounts.User.t() + @spec admin_fixture() :: User.t() + @spec admin_fixture(attrs :: map()) :: User.t() def admin_fixture(attrs \\ %{}) do attrs |> Enum.into(%{