Skip to content

fix: label premium features in middleware error #14360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 19, 2024
Merged
Prev Previous commit
Next Next commit
Update custom roles test
  • Loading branch information
code-asher committed Aug 19, 2024
commit 732fefc84b621cab5ffffa2cdac9083efebfdeb1
2 changes: 1 addition & 1 deletion enterprise/coderd/roles_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func TestCustomOrganizationRole(t *testing.T) {

// Verify functionality is lost
_, err = owner.UpdateOrganizationRole(ctx, templateAdminCustom(first.OrganizationID))
require.ErrorContains(t, err, "Custom Roles is an Enterprise feature")
require.ErrorContains(t, err, "Custom Roles is a Premium feature")

// Assign the custom template admin role
tmplAdmin, _ := coderdtest.CreateAnotherUser(t, owner, first.OrganizationID, rbac.RoleIdentifier{Name: role.Name, OrganizationID: first.OrganizationID})
Expand Down
Loading