mirror of
https://github.com/pushbits/server.git
synced 2025-05-13 00:46:59 +02:00
fix staticcheck reported issues
This commit is contained in:
parent
647f8fa8c4
commit
8bdd7166b8
5 changed files with 17 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue