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) {
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 ,
You can’t perform that action at this time.
0 commit comments