@@ -22,9 +22,6 @@ func TestAgent(t *testing.T) {
22
22
IsUnitTest : true ,
23
23
Steps : []resource.TestStep {{
24
24
Config : `
25
- provider "coder" {
26
- url = "https://example.com"
27
- }
28
25
resource "coder_agent" "new" {
29
26
os = "linux"
30
27
arch = "amd64"
@@ -174,9 +171,6 @@ func TestAgent_Instance(t *testing.T) {
174
171
IsUnitTest : true ,
175
172
Steps : []resource.TestStep {{
176
173
Config : `
177
- provider "coder" {
178
- url = "https://example.com"
179
- }
180
174
resource "coder_agent" "dev" {
181
175
os = "linux"
182
176
arch = "amd64"
@@ -215,9 +209,6 @@ func TestAgent_Metadata(t *testing.T) {
215
209
IsUnitTest : true ,
216
210
Steps : []resource.TestStep {{
217
211
Config : `
218
- provider "coder" {
219
- url = "https://example.com"
220
- }
221
212
resource "coder_agent" "dev" {
222
213
os = "linux"
223
214
arch = "amd64"
@@ -263,9 +254,6 @@ func TestAgent_MetadataDuplicateKeys(t *testing.T) {
263
254
IsUnitTest : true ,
264
255
Steps : []resource.TestStep {{
265
256
Config : `
266
- provider "coder" {
267
- url = "https://example.com"
268
- }
269
257
resource "coder_agent" "dev" {
270
258
os = "linux"
271
259
arch = "amd64"
@@ -301,7 +289,7 @@ func TestAgent_DisplayApps(t *testing.T) {
301
289
Steps : []resource.TestStep {{
302
290
// Test the fields with non-default values.
303
291
Config : `
304
- provider "coder" {
292
+ {
305
293
url = "https://example.com"
306
294
}
307
295
resource "coder_agent" "dev" {
@@ -354,9 +342,6 @@ func TestAgent_DisplayApps(t *testing.T) {
354
342
Steps : []resource.TestStep {{
355
343
// Test the fields with non-default values.
356
344
Config : `
357
- provider "coder" {
358
- url = "https://example.com"
359
- }
360
345
resource "coder_agent" "dev" {
361
346
os = "linux"
362
347
arch = "amd64"
@@ -400,9 +385,6 @@ func TestAgent_DisplayApps(t *testing.T) {
400
385
IsUnitTest : true ,
401
386
Steps : []resource.TestStep {{
402
387
Config : `
403
- provider "coder" {
404
- url = "https://example.com"
405
- }
406
388
resource "coder_agent" "dev" {
407
389
os = "linux"
408
390
arch = "amd64"
@@ -446,9 +428,6 @@ func TestAgent_DisplayApps(t *testing.T) {
446
428
Steps : []resource.TestStep {{
447
429
// Test the fields with non-default values.
448
430
Config : `
449
- provider "coder" {
450
- url = "https://example.com"
451
- }
452
431
resource "coder_agent" "dev" {
453
432
os = "linux"
454
433
arch = "amd64"
0 commit comments