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
@@ -60,9 +60,10 @@ func TestAuthorUseCaseGuards(t *testing.T) {
}
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 != author.SlugWithSuffix(base, 50) {
if err != nil || created.Slug != author.SlugWithSuffix(base, 50) || !result.SlugAdjusted {
t.Errorf("created %+v %v", created, err)
}
})