@@ -22,9 +22,6 @@ func TestAgent(t *testing.T) {
2222 IsUnitTest : true ,
2323 Steps : []resource.TestStep {{
2424 Config : `
25- provider "coder" {
26- url = "https://example.com"
27- }
2825 resource "coder_agent" "new" {
2926 os = "linux"
3027 arch = "amd64"
@@ -174,9 +171,6 @@ func TestAgent_Instance(t *testing.T) {
174171 IsUnitTest : true ,
175172 Steps : []resource.TestStep {{
176173 Config : `
177- provider "coder" {
178- url = "https://example.com"
179- }
180174 resource "coder_agent" "dev" {
181175 os = "linux"
182176 arch = "amd64"
@@ -215,9 +209,6 @@ func TestAgent_Metadata(t *testing.T) {
215209 IsUnitTest : true ,
216210 Steps : []resource.TestStep {{
217211 Config : `
218- provider "coder" {
219- url = "https://example.com"
220- }
221212 resource "coder_agent" "dev" {
222213 os = "linux"
223214 arch = "amd64"
@@ -263,9 +254,6 @@ func TestAgent_MetadataDuplicateKeys(t *testing.T) {
263254 IsUnitTest : true ,
264255 Steps : []resource.TestStep {{
265256 Config : `
266- provider "coder" {
267- url = "https://example.com"
268- }
269257 resource "coder_agent" "dev" {
270258 os = "linux"
271259 arch = "amd64"
@@ -301,7 +289,7 @@ func TestAgent_DisplayApps(t *testing.T) {
301289 Steps : []resource.TestStep {{
302290 // Test the fields with non-default values.
303291 Config : `
304- provider "coder" {
292+ {
305293 url = "https://example.com"
306294 }
307295 resource "coder_agent" "dev" {
@@ -354,9 +342,6 @@ func TestAgent_DisplayApps(t *testing.T) {
354342 Steps : []resource.TestStep {{
355343 // Test the fields with non-default values.
356344 Config : `
357- provider "coder" {
358- url = "https://example.com"
359- }
360345 resource "coder_agent" "dev" {
361346 os = "linux"
362347 arch = "amd64"
@@ -400,9 +385,6 @@ func TestAgent_DisplayApps(t *testing.T) {
400385 IsUnitTest : true ,
401386 Steps : []resource.TestStep {{
402387 Config : `
403- provider "coder" {
404- url = "https://example.com"
405- }
406388 resource "coder_agent" "dev" {
407389 os = "linux"
408390 arch = "amd64"
@@ -446,9 +428,6 @@ func TestAgent_DisplayApps(t *testing.T) {
446428 Steps : []resource.TestStep {{
447429 // Test the fields with non-default values.
448430 Config : `
449- provider "coder" {
450- url = "https://example.com"
451- }
452431 resource "coder_agent" "dev" {
453432 os = "linux"
454433 arch = "amd64"
0 commit comments