this is a really good first commit

This commit is contained in:
2023-01-18 16:13:51 +01:00
parent 6bc40e339a
commit be71f04838
117 changed files with 2972 additions and 3100 deletions

View File

@ -1,21 +0,0 @@
defmodule SomethingErlang.ForumsFixtures do
@moduledoc """
This module defines test helpers for creating
entities via the `SomethingErlang.Forums` context.
"""
@doc """
Generate a thread.
"""
def thread_fixture(attrs \\ %{}) do
{:ok, thread} =
attrs
|> Enum.into(%{
thread_id: 42,
title: "some title"
})
|> SomethingErlang.Forums.create_thread()
thread
end
end