Skip to content
Merged
Changes from 1 commit
Commits
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
fix unit test
  • Loading branch information
Emyrk committed Sep 17, 2024
commit c1c217aa040aef84cfe14f56c2c3a280a7486c45
4 changes: 2 additions & 2 deletions coderd/members_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func TestAddMember(t *testing.T) {
func TestDeleteMember(t *testing.T) {
t.Parallel()

t.Run("NotAllowed", func(t *testing.T) {
t.Run("Allowed", func(t *testing.T) {
t.Parallel()
owner := coderdtest.New(t, nil)
first := coderdtest.CreateFirstUser(t, owner)
Expand All @@ -45,7 +45,7 @@ func TestDeleteMember(t *testing.T) {
// this test should be updated to check there is no error.
// nolint:gocritic // must be an owner to see the user
err := owner.DeleteOrganizationMember(ctx, first.OrganizationID, user.Username)
require.ErrorContains(t, err, "Multi-organizations is currently an experiment")
require.NoError(t, err)
})
}

Expand Down
Loading