parent
bc52b93ece
commit
3306a3b20e
1 changed files with 16 additions and 0 deletions
16
internal/osbuild/groups_stage_test.go
Normal file
16
internal/osbuild/groups_stage_test.go
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
package osbuild
|
||||||
|
|
||||||
|
import (
|
||||||
|
"testing"
|
||||||
|
|
||||||
|
"github.com/stretchr/testify/assert"
|
||||||
|
)
|
||||||
|
|
||||||
|
func TestNewGroupsStage(t *testing.T) {
|
||||||
|
expectedStage := &Stage{
|
||||||
|
Name: "org.osbuild.groups",
|
||||||
|
Options: &GroupsStageOptions{},
|
||||||
|
}
|
||||||
|
actualStage := NewGroupsStage(&GroupsStageOptions{})
|
||||||
|
assert.Equal(t, expectedStage, actualStage)
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue