mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: assign user to multiple orgs in coderdtest user create (#13867)
* chore: coderdtest assign user to multiple orgs on create
This commit is contained in:
@@ -122,7 +122,9 @@ func TestTemplateList(t *testing.T) {
|
||||
_ = coderdtest.CreateTemplate(t, client, owner.OrganizationID, firstVersion.ID)
|
||||
|
||||
secondOrg := coderdtest.CreateOrganization(t, client, coderdtest.CreateOrganizationOptions{
|
||||
IncludeProvisionerDaemon: true,
|
||||
// Listing templates does not require the template actually completes.
|
||||
// We cannot provision an external provisioner in AGPL tests.
|
||||
IncludeProvisionerDaemon: false,
|
||||
})
|
||||
secondVersion := coderdtest.CreateTemplateVersion(t, client, secondOrg.ID, nil)
|
||||
_ = coderdtest.CreateTemplate(t, client, secondOrg.ID, secondVersion.ID)
|
||||
|
||||
Reference in New Issue
Block a user