@@ -23,15 +23,15 @@ func TestAccSnapmirrorResource(t *testing.T) {
23
23
{
24
24
Config : testAccSnapmirrorResourceBasicConfig ("tf_peer:snap_source2" , "terraform:snap_dest2" ),
25
25
Check : resource .ComposeTestCheckFunc (
26
- resource .TestCheckResourceAttr ("netapp-ontap_snapmirror .example" , "destination_endpoint.path" , "terraform:snap_dest2" ),
26
+ resource .TestCheckResourceAttr ("netapp-ontap_snapmirror_resource .example" , "destination_endpoint.path" , "terraform:snap_dest2" ),
27
27
),
28
28
},
29
29
// Update a policy
30
30
{
31
31
Config : testAccSnapmirrorResourceUpdateConfig ("tf_peer:snap_source" , "terraform:snap_dest" , "MirrorAndVault" ),
32
32
Check : resource .ComposeTestCheckFunc (
33
33
resource .TestCheckResourceAttr ("netapp-ontap_snapmirror_resource.example" , "policy.name" , "MirrorAndVault" ),
34
- resource .TestCheckResourceAttr ("netapp-ontap_snapmirror .example" , "destination_endpoint.path" , "terraform:snap_dest" ),
34
+ resource .TestCheckResourceAttr ("netapp-ontap_snapmirror_resource .example" , "destination_endpoint.path" , "terraform:snap_dest" ),
35
35
),
36
36
},
37
37
// Import and read
@@ -40,7 +40,7 @@ func TestAccSnapmirrorResource(t *testing.T) {
40
40
ImportState : true ,
41
41
ImportStateId : fmt .Sprintf ("%s,%s" , "terraform:snap_dest" , "cluster4" ),
42
42
Check : resource .ComposeTestCheckFunc (
43
- resource .TestCheckResourceAttr ("netapp-ontap_snapmirror .example" , "destination_endpoint.path" , "terraform:snap_dest" ),
43
+ resource .TestCheckResourceAttr ("netapp-ontap_snapmirror_resource .example" , "destination_endpoint.path" , "terraform:snap_dest" ),
44
44
),
45
45
},
46
46
// Delete testing automatically occurs in TestCase
0 commit comments