@@ -416,10 +416,10 @@ func TestNotifyUserStatusChanged(t *testing.T) {
416
416
_ , userAdmin := coderdtest .CreateAnotherUser (t , adminClient , firstUser .OrganizationID , rbac .RoleUserAdmin ())
417
417
418
418
member , err := adminClient .CreateUser (ctx , codersdk.CreateUserRequest {
419
- OrganizationID : firstUser .OrganizationID ,
420
- Email : "another@user.org" ,
421
- Username : "someone-else" ,
422
- Password : "SomeSecurePassword!" ,
419
+ OrganizationIDs : []uuid. UUID { firstUser .OrganizationID } ,
420
+ Email : "another@user.org" ,
421
+ Username : "someone-else" ,
422
+ Password : "SomeSecurePassword!" ,
423
423
})
424
424
require .NoError (t , err )
425
425
@@ -453,10 +453,10 @@ func TestNotifyUserStatusChanged(t *testing.T) {
453
453
_ , userAdmin := coderdtest .CreateAnotherUser (t , adminClient , firstUser .OrganizationID , rbac .RoleUserAdmin ())
454
454
455
455
member , err := adminClient .CreateUser (ctx , codersdk.CreateUserRequest {
456
- OrganizationID : firstUser .OrganizationID ,
457
- Email : "another@user.org" ,
458
- Username : "someone-else" ,
459
- Password : "SomeSecurePassword!" ,
456
+ OrganizationIDs : []uuid. UUID { firstUser .OrganizationID } ,
457
+ Email : "another@user.org" ,
458
+ Username : "someone-else" ,
459
+ Password : "SomeSecurePassword!" ,
460
460
})
461
461
require .NoError (t , err )
462
462
0 commit comments