Skip to content

Commit 9cb51c9

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 3667c52 commit 9cb51c9

File tree

1 file changed

+152
-244
lines changed

1 file changed

+152
-244
lines changed

0 commit comments

Comments
 (0)