Skip to content

Commit bfcad58

Browse files
committed
Delete extra var and say premium in comments
1 parent dc1164f commit bfcad58

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

enterprise/coderd/organizations_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,14 +506,13 @@ func TestPatchOrganizationsByUser(t *testing.T) {
506506
ctx := testutil.Context(t, testutil.WaitMedium)
507507

508508
const displayName = "New Organization"
509-
var err error
510509
o := coderdenttest.CreateOrganization(t, client, coderdenttest.CreateOrganizationOptions{}, func(request *codersdk.CreateOrganizationRequest) {
511510
request.DisplayName = displayName
512511
request.Icon = "/emojis/random.png"
513512
request.Name = "new-org"
514513
})
515514

516-
// Remove the license to block enterprise functionality.
515+
// Remove the license to block premium functionality.
517516
licenses, err := client.Licenses(ctx)
518517
require.NoError(t, err, "get licenses")
519518
for _, license := range licenses {

enterprise/coderd/roles_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func TestCustomOrganizationRole(t *testing.T) {
114114
role, err := owner.CreateOrganizationRole(ctx, templateAdminCustom(first.OrganizationID))
115115
require.NoError(t, err, "upsert role")
116116

117-
// Remove the license to block enterprise functionality
117+
// Remove the license to block premium functionality
118118
licenses, err := owner.Licenses(ctx)
119119
require.NoError(t, err, "get licenses")
120120
for _, license := range licenses {

0 commit comments

Comments
 (0)