Skip to content

Commit ba10691

Browse files
fix(tests): disable test mocks (#3)
1 parent 966a7b3 commit ba10691

26 files changed

+105
-0
lines changed

Diff for: account_test.go

+4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestAccountGet(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL
@@ -38,6 +39,7 @@ func TestAccountGet(t *testing.T) {
3839
}
3940

4041
func TestAccountDeleteWithOptionalParams(t *testing.T) {
42+
t.Skip("skipped: tests are disabled for the time being")
4143
baseURL := "http://localhost:4010"
4244
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
4345
baseURL = envURL
@@ -62,6 +64,7 @@ func TestAccountDeleteWithOptionalParams(t *testing.T) {
6264
}
6365

6466
func TestAccountGetSSOLoginURLWithOptionalParams(t *testing.T) {
67+
t.Skip("skipped: tests are disabled for the time being")
6568
baseURL := "http://localhost:4010"
6669
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
6770
baseURL = envURL
@@ -87,6 +90,7 @@ func TestAccountGetSSOLoginURLWithOptionalParams(t *testing.T) {
8790
}
8891

8992
func TestAccountListLoginProvidersWithOptionalParams(t *testing.T) {
93+
t.Skip("skipped: tests are disabled for the time being")
9094
baseURL := "http://localhost:4010"
9195
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
9296
baseURL = envURL

Diff for: editor_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestEditorGetWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL
@@ -38,6 +39,7 @@ func TestEditorGetWithOptionalParams(t *testing.T) {
3839
}
3940

4041
func TestEditorListWithOptionalParams(t *testing.T) {
42+
t.Skip("skipped: tests are disabled for the time being")
4143
baseURL := "http://localhost:4010"
4244
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
4345
baseURL = envURL
@@ -67,6 +69,7 @@ func TestEditorListWithOptionalParams(t *testing.T) {
6769
}
6870

6971
func TestEditorResolveURLWithOptionalParams(t *testing.T) {
72+
t.Skip("skipped: tests are disabled for the time being")
7073
baseURL := "http://localhost:4010"
7174
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
7275
baseURL = envURL

Diff for: environment_test.go

+10
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
func TestEnvironmentNewWithOptionalParams(t *testing.T) {
18+
t.Skip("skipped: tests are disabled for the time being")
1819
baseURL := "http://localhost:4010"
1920
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
2021
baseURL = envURL
@@ -86,6 +87,7 @@ func TestEnvironmentNewWithOptionalParams(t *testing.T) {
8687
}
8788

8889
func TestEnvironmentGetWithOptionalParams(t *testing.T) {
90+
t.Skip("skipped: tests are disabled for the time being")
8991
baseURL := "http://localhost:4010"
9092
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
9193
baseURL = envURL
@@ -110,6 +112,7 @@ func TestEnvironmentGetWithOptionalParams(t *testing.T) {
110112
}
111113

112114
func TestEnvironmentUpdate(t *testing.T) {
115+
t.Skip("skipped: tests are disabled for the time being")
113116
baseURL := "http://localhost:4010"
114117
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
115118
baseURL = envURL
@@ -136,6 +139,7 @@ func TestEnvironmentUpdate(t *testing.T) {
136139
}
137140

138141
func TestEnvironmentListWithOptionalParams(t *testing.T) {
142+
t.Skip("skipped: tests are disabled for the time being")
139143
baseURL := "http://localhost:4010"
140144
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
141145
baseURL = envURL
@@ -173,6 +177,7 @@ func TestEnvironmentListWithOptionalParams(t *testing.T) {
173177
}
174178

175179
func TestEnvironmentDeleteWithOptionalParams(t *testing.T) {
180+
t.Skip("skipped: tests are disabled for the time being")
176181
baseURL := "http://localhost:4010"
177182
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
178183
baseURL = envURL
@@ -198,6 +203,7 @@ func TestEnvironmentDeleteWithOptionalParams(t *testing.T) {
198203
}
199204

200205
func TestEnvironmentNewFromProjectWithOptionalParams(t *testing.T) {
206+
t.Skip("skipped: tests are disabled for the time being")
201207
baseURL := "http://localhost:4010"
202208
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
203209
baseURL = envURL
@@ -270,6 +276,7 @@ func TestEnvironmentNewFromProjectWithOptionalParams(t *testing.T) {
270276
}
271277

272278
func TestEnvironmentNewLogsTokenWithOptionalParams(t *testing.T) {
279+
t.Skip("skipped: tests are disabled for the time being")
273280
baseURL := "http://localhost:4010"
274281
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
275282
baseURL = envURL
@@ -294,6 +301,7 @@ func TestEnvironmentNewLogsTokenWithOptionalParams(t *testing.T) {
294301
}
295302

296303
func TestEnvironmentMarkActiveWithOptionalParams(t *testing.T) {
304+
t.Skip("skipped: tests are disabled for the time being")
297305
baseURL := "http://localhost:4010"
298306
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
299307
baseURL = envURL
@@ -322,6 +330,7 @@ func TestEnvironmentMarkActiveWithOptionalParams(t *testing.T) {
322330
}
323331

324332
func TestEnvironmentStartWithOptionalParams(t *testing.T) {
333+
t.Skip("skipped: tests are disabled for the time being")
325334
baseURL := "http://localhost:4010"
326335
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
327336
baseURL = envURL
@@ -346,6 +355,7 @@ func TestEnvironmentStartWithOptionalParams(t *testing.T) {
346355
}
347356

348357
func TestEnvironmentStopWithOptionalParams(t *testing.T) {
358+
t.Skip("skipped: tests are disabled for the time being")
349359
baseURL := "http://localhost:4010"
350360
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
351361
baseURL = envURL

Diff for: environmentautomation_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestEnvironmentAutomationUpsertWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL

Diff for: environmentautomationservice_test.go

+7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
func TestEnvironmentAutomationServiceNewWithOptionalParams(t *testing.T) {
18+
t.Skip("skipped: tests are disabled for the time being")
1819
baseURL := "http://localhost:4010"
1920
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
2021
baseURL = envURL
@@ -68,6 +69,7 @@ func TestEnvironmentAutomationServiceNewWithOptionalParams(t *testing.T) {
6869
}
6970

7071
func TestEnvironmentAutomationServiceGetWithOptionalParams(t *testing.T) {
72+
t.Skip("skipped: tests are disabled for the time being")
7173
baseURL := "http://localhost:4010"
7274
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
7375
baseURL = envURL
@@ -92,6 +94,7 @@ func TestEnvironmentAutomationServiceGetWithOptionalParams(t *testing.T) {
9294
}
9395

9496
func TestEnvironmentAutomationServiceUpdateWithOptionalParams(t *testing.T) {
97+
t.Skip("skipped: tests are disabled for the time being")
9598
baseURL := "http://localhost:4010"
9699
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
97100
baseURL = envURL
@@ -127,6 +130,7 @@ func TestEnvironmentAutomationServiceUpdateWithOptionalParams(t *testing.T) {
127130
}
128131

129132
func TestEnvironmentAutomationServiceListWithOptionalParams(t *testing.T) {
133+
t.Skip("skipped: tests are disabled for the time being")
130134
baseURL := "http://localhost:4010"
131135
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
132136
baseURL = envURL
@@ -161,6 +165,7 @@ func TestEnvironmentAutomationServiceListWithOptionalParams(t *testing.T) {
161165
}
162166

163167
func TestEnvironmentAutomationServiceDeleteWithOptionalParams(t *testing.T) {
168+
t.Skip("skipped: tests are disabled for the time being")
164169
baseURL := "http://localhost:4010"
165170
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
166171
baseURL = envURL
@@ -186,6 +191,7 @@ func TestEnvironmentAutomationServiceDeleteWithOptionalParams(t *testing.T) {
186191
}
187192

188193
func TestEnvironmentAutomationServiceStartWithOptionalParams(t *testing.T) {
194+
t.Skip("skipped: tests are disabled for the time being")
189195
baseURL := "http://localhost:4010"
190196
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
191197
baseURL = envURL
@@ -210,6 +216,7 @@ func TestEnvironmentAutomationServiceStartWithOptionalParams(t *testing.T) {
210216
}
211217

212218
func TestEnvironmentAutomationServiceStopWithOptionalParams(t *testing.T) {
219+
t.Skip("skipped: tests are disabled for the time being")
213220
baseURL := "http://localhost:4010"
214221
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
215222
baseURL = envURL

Diff for: environmentautomationtask_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
)
1616

1717
func TestEnvironmentAutomationTaskNewWithOptionalParams(t *testing.T) {
18+
t.Skip("skipped: tests are disabled for the time being")
1819
baseURL := "http://localhost:4010"
1920
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
2021
baseURL = envURL
@@ -62,6 +63,7 @@ func TestEnvironmentAutomationTaskNewWithOptionalParams(t *testing.T) {
6263
}
6364

6465
func TestEnvironmentAutomationTaskGetWithOptionalParams(t *testing.T) {
66+
t.Skip("skipped: tests are disabled for the time being")
6567
baseURL := "http://localhost:4010"
6668
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
6769
baseURL = envURL
@@ -86,6 +88,7 @@ func TestEnvironmentAutomationTaskGetWithOptionalParams(t *testing.T) {
8688
}
8789

8890
func TestEnvironmentAutomationTaskUpdateWithOptionalParams(t *testing.T) {
91+
t.Skip("skipped: tests are disabled for the time being")
8992
baseURL := "http://localhost:4010"
9093
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
9194
baseURL = envURL
@@ -117,6 +120,7 @@ func TestEnvironmentAutomationTaskUpdateWithOptionalParams(t *testing.T) {
117120
}
118121

119122
func TestEnvironmentAutomationTaskListWithOptionalParams(t *testing.T) {
123+
t.Skip("skipped: tests are disabled for the time being")
120124
baseURL := "http://localhost:4010"
121125
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
122126
baseURL = envURL
@@ -151,6 +155,7 @@ func TestEnvironmentAutomationTaskListWithOptionalParams(t *testing.T) {
151155
}
152156

153157
func TestEnvironmentAutomationTaskDeleteWithOptionalParams(t *testing.T) {
158+
t.Skip("skipped: tests are disabled for the time being")
154159
baseURL := "http://localhost:4010"
155160
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
156161
baseURL = envURL
@@ -175,6 +180,7 @@ func TestEnvironmentAutomationTaskDeleteWithOptionalParams(t *testing.T) {
175180
}
176181

177182
func TestEnvironmentAutomationTaskStartWithOptionalParams(t *testing.T) {
183+
t.Skip("skipped: tests are disabled for the time being")
178184
baseURL := "http://localhost:4010"
179185
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
180186
baseURL = envURL

Diff for: environmentautomationtaskexecution_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestEnvironmentAutomationTaskExecutionGetWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL
@@ -38,6 +39,7 @@ func TestEnvironmentAutomationTaskExecutionGetWithOptionalParams(t *testing.T) {
3839
}
3940

4041
func TestEnvironmentAutomationTaskExecutionListWithOptionalParams(t *testing.T) {
42+
t.Skip("skipped: tests are disabled for the time being")
4143
baseURL := "http://localhost:4010"
4244
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
4345
baseURL = envURL
@@ -73,6 +75,7 @@ func TestEnvironmentAutomationTaskExecutionListWithOptionalParams(t *testing.T)
7375
}
7476

7577
func TestEnvironmentAutomationTaskExecutionStopWithOptionalParams(t *testing.T) {
78+
t.Skip("skipped: tests are disabled for the time being")
7679
baseURL := "http://localhost:4010"
7780
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
7881
baseURL = envURL

Diff for: environmentclass_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestEnvironmentClassListWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL

Diff for: event_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestEventListWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL

Diff for: group_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestGroupListWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL

Diff for: identity_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestIdentityExchangeTokenWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL
@@ -38,6 +39,7 @@ func TestIdentityExchangeTokenWithOptionalParams(t *testing.T) {
3839
}
3940

4041
func TestIdentityGetAuthenticatedIdentity(t *testing.T) {
42+
t.Skip("skipped: tests are disabled for the time being")
4143
baseURL := "http://localhost:4010"
4244
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
4345
baseURL = envURL
@@ -62,6 +64,7 @@ func TestIdentityGetAuthenticatedIdentity(t *testing.T) {
6264
}
6365

6466
func TestIdentityGetIDTokenWithOptionalParams(t *testing.T) {
67+
t.Skip("skipped: tests are disabled for the time being")
6568
baseURL := "http://localhost:4010"
6669
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
6770
baseURL = envURL

Diff for: organization_test.go

+9
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import (
1414
)
1515

1616
func TestOrganizationNewWithOptionalParams(t *testing.T) {
17+
t.Skip("skipped: tests are disabled for the time being")
1718
baseURL := "http://localhost:4010"
1819
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
1920
baseURL = envURL
@@ -40,6 +41,7 @@ func TestOrganizationNewWithOptionalParams(t *testing.T) {
4041
}
4142

4243
func TestOrganizationGetWithOptionalParams(t *testing.T) {
44+
t.Skip("skipped: tests are disabled for the time being")
4345
baseURL := "http://localhost:4010"
4446
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
4547
baseURL = envURL
@@ -64,6 +66,7 @@ func TestOrganizationGetWithOptionalParams(t *testing.T) {
6466
}
6567

6668
func TestOrganizationUpdateWithOptionalParams(t *testing.T) {
69+
t.Skip("skipped: tests are disabled for the time being")
6770
baseURL := "http://localhost:4010"
6871
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
6972
baseURL = envURL
@@ -92,6 +95,7 @@ func TestOrganizationUpdateWithOptionalParams(t *testing.T) {
9295
}
9396

9497
func TestOrganizationListWithOptionalParams(t *testing.T) {
98+
t.Skip("skipped: tests are disabled for the time being")
9599
baseURL := "http://localhost:4010"
96100
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
97101
baseURL = envURL
@@ -122,6 +126,7 @@ func TestOrganizationListWithOptionalParams(t *testing.T) {
122126
}
123127

124128
func TestOrganizationDeleteWithOptionalParams(t *testing.T) {
129+
t.Skip("skipped: tests are disabled for the time being")
125130
baseURL := "http://localhost:4010"
126131
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
127132
baseURL = envURL
@@ -146,6 +151,7 @@ func TestOrganizationDeleteWithOptionalParams(t *testing.T) {
146151
}
147152

148153
func TestOrganizationJoin(t *testing.T) {
154+
t.Skip("skipped: tests are disabled for the time being")
149155
baseURL := "http://localhost:4010"
150156
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
151157
baseURL = envURL
@@ -172,6 +178,7 @@ func TestOrganizationJoin(t *testing.T) {
172178
}
173179

174180
func TestOrganizationLeaveWithOptionalParams(t *testing.T) {
181+
t.Skip("skipped: tests are disabled for the time being")
175182
baseURL := "http://localhost:4010"
176183
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
177184
baseURL = envURL
@@ -196,6 +203,7 @@ func TestOrganizationLeaveWithOptionalParams(t *testing.T) {
196203
}
197204

198205
func TestOrganizationListMembersWithOptionalParams(t *testing.T) {
206+
t.Skip("skipped: tests are disabled for the time being")
199207
baseURL := "http://localhost:4010"
200208
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
201209
baseURL = envURL
@@ -226,6 +234,7 @@ func TestOrganizationListMembersWithOptionalParams(t *testing.T) {
226234
}
227235

228236
func TestOrganizationSetRoleWithOptionalParams(t *testing.T) {
237+
t.Skip("skipped: tests are disabled for the time being")
229238
baseURL := "http://localhost:4010"
230239
if envURL, ok := os.LookupEnv("TEST_API_BASE_URL"); ok {
231240
baseURL = envURL

0 commit comments

Comments
 (0)