Skip to content

Commit 8192e6b

Browse files
committed
coderd: dbauthz_test: migrate TestNotifications suite to use mock DB
- Replace Subtest with Mocked and set gomock expectations - Use testutil.Fake + gofakeit to generate data - Add necessary GetInboxNotificationByID expectation for read-status updates - Keeps RBAC assertions identical; suite passes locally with GOCACHE
1 parent 31de126 commit 8192e6b

File tree

1 file changed

+152
-244
lines changed

1 file changed

+152
-244
lines changed

0 commit comments

Comments
 (0)