Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🧪
  • Loading branch information
aslilac committed May 16, 2024
commit 8902a857d1aea447cb5161acead4015b239f7dd3
4 changes: 2 additions & 2 deletions coderd/database/dbauthz/dbauthz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ func (s *MethodTestSuite) TestOrganization() {
check.Args(database.UpdateOrganizationParams{
ID: o.ID,
Name: "something-different",
}).Asserts(rbac.ResourceOrganization, policy.ActionUpdate)
}).Asserts(o, policy.ActionUpdate)
}))
s.Run("DeleteOrganization", s.Subtest(func(db database.Store, check *expects) {
ctx := testutil.Context(s.T(), testutil.WaitShort)
Expand All @@ -660,7 +660,7 @@ func (s *MethodTestSuite) TestOrganization() {
require.NoError(s.T(), err)
check.Args(
o.ID,
).Asserts(rbac.ResourceOrganization, policy.ActionDelete)
).Asserts(o, policy.ActionDelete)
}))
s.Run("UpdateMemberRoles", s.Subtest(func(db database.Store, check *expects) {
o := dbgen.Organization(s.T(), db, database.Organization{})
Expand Down