Skip to content

Commit 03ad2a1

Browse files
committed
Fixing dbauthz test
Signed-off-by: Danny Kopping <danny@coder.com>
1 parent f1244ab commit 03ad2a1

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy