feat: sites and authors integration into existing screens (& formated all frontend files kinda accidentally)
This commit is contained in:
1 parent
3d81d2c717
commit
6b8990c55e
239 files changed
+9194
-1354
No files matched your search
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user