chore: apply mix format to blogex test files and router

This commit is contained in:
Firehose Bot
2026-05-07 11:57:17 +01:00
parent ab7a520e9e
commit 2b7cf0a3b9
6 changed files with 70 additions and 40 deletions
+14 -7
View File
@@ -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