chore: apply mix format to blogex test files and router
This commit is contained in:
@@ -10,15 +10,22 @@ defmodule Blogex.RouterTest do
|
||||
build(id: "first-post", title: "First", tags: ["elixir"], date: ~D[2026-03-10]),
|
||||
build(id: "second-post", title: "Second", tags: ["otp"], date: ~D[2026-02-01]),
|
||||
build(id: "draft", published: false, date: ~D[2026-03-12]),
|
||||
build(id: "future-post", title: "Future", tags: ["elixir"], date: ~D[2099-01-01], published: true)
|
||||
build(
|
||||
id: "future-post",
|
||||
title: "Future",
|
||||
tags: ["elixir"],
|
||||
date: ~D[2099-01-01],
|
||||
published: true
|
||||
)
|
||||
]
|
||||
|
||||
{:ok, _} = FakeBlog.start(posts,
|
||||
blog_id: :test,
|
||||
title: "Test Blog",
|
||||
description: "Test",
|
||||
base_path: "/blog/test"
|
||||
)
|
||||
{:ok, _} =
|
||||
FakeBlog.start(posts,
|
||||
blog_id: :test,
|
||||
title: "Test Blog",
|
||||
description: "Test",
|
||||
base_path: "/blog/test"
|
||||
)
|
||||
|
||||
:ok
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user