Skip to content

Commit cd9bce4

Browse files
committed
hmm
1 parent 70566a7 commit cd9bce4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

internal/provider/organization_resource_test.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,25 @@ func TestAccOrganizationResource(t *testing.T) {
4242
cfg2.DisplayName = ptr.Ref("Example Organization New")
4343

4444
cfg3 := cfg2
45-
cfg3.GroupSync = ptr.Ref(codersdk.GroupSyncSettings{
45+
cfg3.SyncMapping = []string{"wibble", "wobble"}
46+
47+
cfg4 := cfg3
48+
cfg4.SyncMapping = []string{"wibbley", "wobbley"}
49+
50+
cfg5 := cfg4
51+
cfg5.GroupSync = ptr.Ref(codersdk.GroupSyncSettings{
4652
Field: "wibble",
4753
Mapping: map[string][]uuid.UUID{
4854
"wibble": {uuid.MustParse("6e57187f-6543-46ab-a62c-a10065dd4314")},
4955
},
5056
})
51-
cfg3.RoleSync = ptr.Ref(codersdk.RoleSyncSettings{
57+
cfg5.RoleSync = ptr.Ref(codersdk.RoleSyncSettings{
5258
Field: "wobble",
5359
Mapping: map[string][]string{
5460
"wobble": {"wobbly"},
5561
},
5662
})
5763

58-
cfg4 := cfg2
59-
cfg4.SyncMapping = []string{"wibble", "wobble"}
60-
61-
cfg5 := cfg4
62-
cfg5.SyncMapping = []string{"wibbley", "wobbley"}
63-
6464
t.Run("CreateImportUpdateReadOk", func(t *testing.T) {
6565
resource.Test(t, resource.TestCase{
6666
IsUnitTest: true,

0 commit comments

Comments
 (0)