feat: sites and authors integration into existing screens (& formated all frontend files kinda accidentally)

This commit is contained in:
Florian Sylvain committed 2026-10-15 05:25:44 +02:00
1 parent 3d81d2c717
commit 6b8990c55e
239 files changed
+9194 -1354

No files matched your search

+3 -2
View File
@@ -100,9 +100,10 @@ func TestAuthorUseCases(t *testing.T) {
authors.fail.failNextWith("Create", author.ErrSlugTaken)
uc := useCases.NewCreateMyAuthorUseCase(authors, users, discardRecorder)
created, err := uc.Create(context.Background(), 1)
result, err := uc.Create(context.Background(), 1)
created := result.Author
if err != nil || created.Slug != "marta-alves-2" {
if err != nil || created.Slug != "marta-alves-2" || !result.SlugAdjusted {
t.Errorf("created %+v %v", created, err)
}
})