diff --git a/internal/osbuild/chrony_stage_test.go b/internal/osbuild/chrony_stage_test.go new file mode 100644 index 000000000..df3050f47 --- /dev/null +++ b/internal/osbuild/chrony_stage_test.go @@ -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) +}