refac: missing mutation tests, spa specs, checks shown to pass, touch targets, catalogue entry, production code
This commit is contained in:
1 parent
7c15206170
commit
3e02e14da4
48 files changed
+2173
-83
No files matched your search
@@ -74,6 +74,10 @@ func TestStoryDeleteHTTP(t *testing.T) {
|
||||
if !slices.Equal(w.storyVersionIDs(), before) {
|
||||
t.Fatalf("versions changed: %v", w.storyVersionIDs())
|
||||
}
|
||||
failed := w.eventsOf(audit.ActionArticleDelete)
|
||||
if len(failed) != 1 || failed[0].Outcome != audit.OutcomeFailed || failed[0].Target.ID != "10" {
|
||||
t.Fatalf("one failed article.delete on the oldest readable version expected: %+v", failed)
|
||||
}
|
||||
})
|
||||
|
||||
t.Run("An unknown or unreadable article answers the same not found", func(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user