Blame internal/osbuild/users_stage_test.go

Packit Service 4d2de5
package osbuild
Packit Service 4d2de5
Packit Service 4d2de5
import (
Packit Service 4d2de5
	"testing"
Packit Service 4d2de5
Packit Service 4d2de5
	"github.com/stretchr/testify/assert"
Packit Service 4d2de5
)
Packit Service 4d2de5
Packit Service 4d2de5
func TestNewUsersStage(t *testing.T) {
Packit Service 4d2de5
	expectedStage := &Stage{
Packit Service 4d2de5
		Name:    "org.osbuild.users",
Packit Service 4d2de5
		Options: &UsersStageOptions{},
Packit Service 4d2de5
	}
Packit Service 4d2de5
	actualStage := NewUsersStage(&UsersStageOptions{})
Packit Service 4d2de5
	assert.Equal(t, expectedStage, actualStage)
Packit Service 4d2de5
}