Add notification scope to TestEventSourceManagerRun

This commit is contained in:
harryzcy 2022-10-29 18:08:54 -04:00
parent be5164b4f4
commit 9f7db16b79
No known key found for this signature in database
GPG key ID: CC2953E050C19686

View file

@ -59,7 +59,7 @@ func TestEventSourceManagerRun(t *testing.T) {
thread5 := unittest.AssertExistsAndLoadBean(t, &activities_model.Notification{ID: 5})
assert.NoError(t, thread5.LoadAttributes())
session := loginUser(t, user2.Name)
token := getTokenForLoggedInUser(t, session)
token := getTokenForLoggedInUser(t, session, "notification")
var apiNL []api.NotificationThread