Blame internal/osbuild1/chrony_stage_test.go

Packit Service 15f37d
package osbuild1
Packit Service 15f37d
Packit Service 15f37d
import (
Packit Service 15f37d
	"testing"
Packit Service 15f37d
Packit Service 15f37d
	"github.com/stretchr/testify/assert"
Packit Service 15f37d
)
Packit Service 15f37d
Packit Service 15f37d
func TestNewChronyStage(t *testing.T) {
Packit Service 15f37d
	expectedStage := &Stage{
Packit Service 15f37d
		Name:    "org.osbuild.chrony",
Packit Service 15f37d
		Options: &ChronyStageOptions{},
Packit Service 15f37d
	}
Packit Service 15f37d
	actualStage := NewChronyStage(&ChronyStageOptions{})
Packit Service 15f37d
	assert.Equal(t, expectedStage, actualStage)
Packit Service 15f37d
}