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