Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freeznet committed Sep 26, 2024
1 parent a9250ab commit e6ae31f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pulsar/resource_pulsar_tenant_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ func TestTenantWithAdminRoles(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
testPulsarTenantExists("pulsar_tenant.test"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.#", "2"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.0", "pulsar-tenant-admin-role-1"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.1", "[email protected]"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.0",
"pulsar-tenant-admin-role-1"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.1",
"[email protected]"),
),
},
},
Expand All @@ -228,8 +230,10 @@ func TestTenantUpdateAdminRoles(t *testing.T) {
Check: resource.ComposeTestCheckFunc(
testPulsarTenantExists("pulsar_tenant.test"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.#", "2"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.0", "pulsar-oauth2-tenant-hearo-admin-role@aud-testing.auth.streamnative.cloud"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.1", "pulsar-tenant-hearo-admin-role"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.0",
"pulsar-oauth2-tenant-hearo-admin-role@aud-testing.auth.streamnative.cloud"),
resource.TestCheckResourceAttr("pulsar_tenant.test", "admin_roles.1",
"pulsar-tenant-hearo-admin-role"),
),
},
},
Expand Down

0 comments on commit e6ae31f

Please sign in to comment.