diff --git a/internal/ape/converter_test.go b/internal/ape/converter_test.go index b5f8939c..28125606 100644 --- a/internal/ape/converter_test.go +++ b/internal/ape/converter_test.go @@ -105,7 +105,7 @@ func TestNoFilters(t *testing.T) { req := &testRequest{ props: map[string]string{ - nativeschema.PropertyKeyActorRole: eacl.RoleOthers.String(), + nativeschema.PropertyKeyActorRole: nativeschema.PropertyValueContainerRoleOthers, }, res: &testResource{name: fmt.Sprintf(nativeschema.ResourceFormatRootContainerObjects, cnrID.EncodeToString())}, } @@ -150,7 +150,7 @@ func TestNoFilters(t *testing.T) { req := &testRequest{ props: map[string]string{ - nativeschema.PropertyKeyActorRole: eacl.RoleOthers.String(), + nativeschema.PropertyKeyActorRole: nativeschema.PropertyValueContainerRoleOthers, nativeschema.PropertyKeyActorPublicKey: string(p2.PublicKey().Bytes()), }, res: &testResource{name: fmt.Sprintf(nativeschema.ResourceFormatRootContainerObjects, cnrID.EncodeToString())}, @@ -283,7 +283,7 @@ func TestWithFilters(t *testing.T) { req := &testRequest{ props: map[string]string{ - nativeschema.PropertyKeyActorRole: eacl.RoleOthers.String(), + nativeschema.PropertyKeyActorRole: nativeschema.PropertyValueContainerRoleOthers, }, res: &testResource{ name: fmt.Sprintf(nativeschema.ResourceFormatRootContainerObjects, cnrID.EncodeToString()), @@ -335,7 +335,7 @@ func TestWithFilters(t *testing.T) { req := &testRequest{ props: map[string]string{ - nativeschema.PropertyKeyActorRole: eacl.RoleOthers.String(), + nativeschema.PropertyKeyActorRole: nativeschema.PropertyValueContainerRoleOthers, attrKey: attrValue, }, res: &testResource{