File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -42,25 +42,25 @@ func TestAccOrganizationResource(t *testing.T) {
42
42
cfg2 .DisplayName = ptr .Ref ("Example Organization New" )
43
43
44
44
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 {
46
52
Field : "wibble" ,
47
53
Mapping : map [string ][]uuid.UUID {
48
54
"wibble" : {uuid .MustParse ("6e57187f-6543-46ab-a62c-a10065dd4314" )},
49
55
},
50
56
})
51
- cfg3 .RoleSync = ptr .Ref (codersdk.RoleSyncSettings {
57
+ cfg5 .RoleSync = ptr .Ref (codersdk.RoleSyncSettings {
52
58
Field : "wobble" ,
53
59
Mapping : map [string ][]string {
54
60
"wobble" : {"wobbly" },
55
61
},
56
62
})
57
63
58
- cfg4 := cfg2
59
- cfg4 .SyncMapping = []string {"wibble" , "wobble" }
60
-
61
- cfg5 := cfg4
62
- cfg5 .SyncMapping = []string {"wibbley" , "wobbley" }
63
-
64
64
t .Run ("CreateImportUpdateReadOk" , func (t * testing.T ) {
65
65
resource .Test (t , resource.TestCase {
66
66
IsUnitTest : true ,
You can’t perform that action at this time.
0 commit comments