parent
dae77de5ac
commit
2d8b9c3178
1 changed files with 16 additions and 0 deletions
16
internal/osbuild/firewall_stage_test.go
Normal file
16
internal/osbuild/firewall_stage_test.go
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
package osbuild
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestNewFirewallStage(t *testing.T) {
|
||||
expectedFirewall := &Stage{
|
||||
Name: "org.osbuild.firewall",
|
||||
Options: &FirewallStageOptions{},
|
||||
}
|
||||
actualFirewall := NewFirewallStage(&FirewallStageOptions{})
|
||||
assert.Equal(t, expectedFirewall, actualFirewall)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue