Skip to content

Commit 2f78cfd

Browse files
committed
Fixing dbauthz test
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent be0a370 commit 2f78cfd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coderd/database/dbauthz/dbauthz_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2486,7 +2486,8 @@ func (s *MethodTestSuite) TestSystemFunctions() {
24862486
s.Run("EnqueueNotificationMessage", s.Subtest(func(db database.Store, check *expects) {
24872487
// TODO: update this test once we have a specific role for notifications
24882488
check.Args(database.EnqueueNotificationMessageParams{
2489-
Method: database.NotificationMethodWebhook,
2489+
Method: database.NotificationMethodWebhook,
2490+
Payload: []byte("{}"),
24902491
}).Asserts(rbac.ResourceSystem, policy.ActionCreate)
24912492
}))
24922493
s.Run("FetchNewMessageMetadata", s.Subtest(func(db database.Store, check *expects) {

0 commit comments

Comments
 (0)