Skip to content

Commit 2e16d76

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

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
@@ -2454,7 +2454,8 @@ func (s *MethodTestSuite) TestSystemFunctions() {
24542454
s.Run("EnqueueNotificationMessage", s.Subtest(func(db database.Store, check *expects) {
24552455
// TODO: update this test once we have a specific role for notifications
24562456
check.Args(database.EnqueueNotificationMessageParams{
2457-
Method: database.NotificationMethodWebhook,
2457+
Method: database.NotificationMethodWebhook,
2458+
Payload: []byte("{}"),
24582459
}).Asserts(rbac.ResourceSystem, policy.ActionCreate)
24592460
}))
24602461
s.Run("FetchNewMessageMetadata", s.Subtest(func(db database.Store, check *expects) {

0 commit comments

Comments
 (0)