test: add new NotificationService instantiation test
This commit is contained in:
parent
9c38c5f6c2
commit
1e30f57705
1 changed files with 8 additions and 0 deletions
|
|
@ -117,3 +117,11 @@ func TestNotificationService_MarkAllAsRead(t *testing.T) {
|
|||
}
|
||||
})
|
||||
}
|
||||
|
||||
// NewNotificationService instantiation test
|
||||
func TestNewNotificationService(t *testing.T) {
|
||||
service := NewNotificationService(nil, nil)
|
||||
if service == nil {
|
||||
t.Error("Expected NotificationService to not be nil")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue