@@ -71,25 +71,18 @@ func TestIntegration(t *testing.T) {
71
71
name : "test-data-source" ,
72
72
minVersion : "v0.0.0" ,
73
73
expectedOutput : map [string ]string {
74
- "provisioner.arch" : runtime .GOARCH ,
75
- "provisioner.id" : `[a-zA-Z0-9-]+` ,
76
- "provisioner.os" : runtime .GOOS ,
77
- "workspace.access_port" : `\d+` ,
78
- "workspace.access_url" : `https?://\D+:\d+` ,
79
- "workspace.id" : `[a-zA-z0-9-]+` ,
80
- "workspace.name" : `test-data-source` ,
81
- "workspace.owner" : `testing` ,
82
- "workspace.owner_email" : `testing@coder\.com` ,
83
- "workspace.owner_groups" : `\[\]` ,
84
- "workspace.owner_id" : `[a-zA-Z0-9]+` ,
85
- "workspace.owner_name" : `default` ,
86
- "workspace.owner_oidc_access_token" : `^$` , // TODO: need a test OIDC integration
87
- "workspace.owner_session_token" : `[a-zA-Z0-9-]+` ,
88
- "workspace.start_count" : `1` ,
89
- "workspace.template_id" : `[a-zA-Z0-9-]+` ,
90
- "workspace.template_name" : `test-data-source` ,
91
- "workspace.template_version" : `.+` ,
92
- "workspace.transition" : `start` ,
74
+ "provisioner.arch" : runtime .GOARCH ,
75
+ "provisioner.id" : `[a-zA-Z0-9-]+` ,
76
+ "provisioner.os" : runtime .GOOS ,
77
+ "workspace.access_port" : `\d+` ,
78
+ "workspace.access_url" : `https?://\D+:\d+` ,
79
+ "workspace.id" : `[a-zA-z0-9-]+` ,
80
+ "workspace.name" : `test-data-source` ,
81
+ "workspace.start_count" : `1` ,
82
+ "workspace.template_id" : `[a-zA-Z0-9-]+` ,
83
+ "workspace.template_name" : `test-data-source` ,
84
+ "workspace.template_version" : `.+` ,
85
+ "workspace.transition" : `start` ,
93
86
},
94
87
},
95
88
{
@@ -103,13 +96,6 @@ func TestIntegration(t *testing.T) {
103
96
"workspace.access_url" : `https?://\D+:\d+` ,
104
97
"workspace.id" : `[a-zA-z0-9-]+` ,
105
98
"workspace.name" : `` ,
106
- "workspace.owner" : `testing` ,
107
- "workspace.owner_email" : `testing@coder\.com` ,
108
- "workspace.owner_groups" : `\[\]` ,
109
- "workspace.owner_id" : `[a-zA-Z0-9]+` ,
110
- "workspace.owner_name" : `default` ,
111
- "workspace.owner_oidc_access_token" : `^$` , // TODO: need a test OIDC integration
112
- "workspace.owner_session_token" : `[a-zA-Z0-9-]+` ,
113
99
"workspace.start_count" : `1` ,
114
100
"workspace.template_id" : `[a-zA-Z0-9-]+` ,
115
101
"workspace.template_name" : `workspace-owner` ,
0 commit comments