Add the create_user to the UserFactory.

This commit is contained in:
2024-09-01 21:23:20 +03:00
parent 9671d030c4
commit 1b6651bab9
+5
View File
@@ -7,4 +7,9 @@ defmodule LinkShortener.Factories.UserFactory do
password: "some password"
}
end
def create_user() do
user_attrs_factory()
|> LinkShortener.AccountsFixtures.user_fixture()
end
end