fix staticcheck reported issues

This commit is contained in:
cubicroot 2024-10-20 20:19:57 +02:00
parent 647f8fa8c4
commit 8bdd7166b8
5 changed files with 17 additions and 17 deletions

View file

@ -36,7 +36,7 @@ func TestApi_CreateNotification(t *testing.T) {
var notification model.Notification
w, c, err := req.GetRequest()
if err != nil {
t.Fatalf(err.Error())
t.Fatal(err.Error())
}
c.Set("app", &testApplication)
@ -83,7 +83,7 @@ func TestApi_DeleteNotification(t *testing.T) {
for id, req := range testCases {
w, c, err := req.GetRequest()
if err != nil {
t.Fatalf(err.Error())
t.Fatal(err.Error())
}
c.Set("app", &testApplication)