Skip to content

Commit

Permalink
test(firewall-raw): Fix resource name
Browse files Browse the repository at this point in the history
  • Loading branch information
vaerh committed May 29, 2024
1 parent f8b9824 commit 9a6d466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routeros/resource_ip_firewall_raw_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
)

const testIPFirewallRawAddress = "routeros_firewall_raw.rule"
const testIPFirewallRawAddress = "routeros_ip_firewall_raw.rule"

func TestAccIPFirewallRawTest_basic(t *testing.T) {
for _, name := range testNames {
Expand All @@ -17,7 +17,7 @@ func TestAccIPFirewallRawTest_basic(t *testing.T) {
testSetTransportEnv(t, name)
},
ProviderFactories: testAccProviderFactories,
CheckDestroy: testCheckResourceDestroy("/ip/firewall/raw", "routeros_firewall_raw"),
CheckDestroy: testCheckResourceDestroy("/ip/firewall/raw", "routeros_ip_firewall_raw"),
Steps: []resource.TestStep{
{
Config: testAccIPFirewallRawConfig(),
Expand All @@ -35,7 +35,7 @@ func TestAccIPFirewallRawTest_basic(t *testing.T) {

func testAccIPFirewallRawConfig() string {
return providerConfig + `
resource "routeros_firewall_raw" "rule" {
resource "routeros_ip_firewall_raw" "rule" {
action = "accept"
chain = "prerouting"
src_address = "10.0.0.1"
Expand Down

0 comments on commit 9a6d466

Please sign in to comment.