Skip to content

Commit 90f4dd1

Browse files
few changes for the test file
1 parent cd24fb4 commit 90f4dd1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

internal/provider/resource_appdata_dsource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ func resourceDsourceRead(ctx context.Context, d *schema.ResourceData, meta inter
511511
if diags != nil {
512512
ErrorLog.Printf("Error in polling of dSource for deletion.")
513513
} else {
514-
// diags will be nill in case of successful poll for deletion logic aka 404
514+
// diags will be nil in case of successful poll for deletion logic aka 404
515515
ErrorLog.Printf("Error reading the dSource %s, removing from state.", dsource_id)
516516
d.SetId("")
517517
}

internal/provider/resource_database_postgresql_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ func Test_source_create_positive(t *testing.T) {
2929
{
3030
Config: testsourceBasic(repository_id, name),
3131
Check: resource.ComposeTestCheckFunc(
32-
testSourceExists("delphix_source.new_dsource", name),
33-
resource.TestCheckResourceAttr("delphix_source.new_dsource", "name", name)),
32+
testSourceExists("delphix_database_postgresql.new_dsource", name),
33+
resource.TestCheckResourceAttr("delphix_database_postgresql.new_dsource", "name", name)),
3434
},
3535
{
3636
Config: testsourceUpdate(repository_id, "update_name"),
3737
Check: resource.ComposeTestCheckFunc(
38-
testSourceExists("delphix_source.new_dsource", "update_name"),
39-
resource.TestCheckResourceAttr("delphix_source.new_dsource", "name", "update_name")),
38+
testSourceExists("delphix_database_postgresql.new_dsource", "update_name"),
39+
resource.TestCheckResourceAttr("delphix_database_postgresql.new_dsource", "name", "update_name")),
4040
},
4141
},
4242
})
@@ -65,7 +65,7 @@ func testSourceDestroy(s *terraform.State) error {
6565
client := testAccProvider.Meta().(*apiClient).client
6666

6767
for _, rs := range s.RootModule().Resources {
68-
if rs.Type != "delphix_source" {
68+
if rs.Type != "delphix_database_postgresql" {
6969
continue
7070
}
7171

0 commit comments

Comments
 (0)