[#1189] cli: Fix unit-test for eACL converter
All checks were successful
DCO action / DCO (pull_request) Successful in 3m17s
Vulncheck / Vulncheck (pull_request) Successful in 3m47s
Tests and linters / Lint (pull_request) Successful in 5m3s
Build / Build Components (1.22) (pull_request) Successful in 4m22s
Tests and linters / gopls check (pull_request) Successful in 4m44s
Build / Build Components (1.21) (pull_request) Successful in 4m38s
Tests and linters / Staticcheck (pull_request) Successful in 5m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m29s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m43s
Tests and linters / Tests with -race (pull_request) Successful in 9m51s
Tests and linters / Tests (1.22) (pull_request) Successful in 10m18s
All checks were successful
DCO action / DCO (pull_request) Successful in 3m17s
Vulncheck / Vulncheck (pull_request) Successful in 3m47s
Tests and linters / Lint (pull_request) Successful in 5m3s
Build / Build Components (1.22) (pull_request) Successful in 4m22s
Tests and linters / gopls check (pull_request) Successful in 4m44s
Build / Build Components (1.21) (pull_request) Successful in 4m38s
Tests and linters / Staticcheck (pull_request) Successful in 5m1s
Pre-commit hooks / Pre-commit (pull_request) Successful in 5m29s
Tests and linters / Tests (1.21) (pull_request) Successful in 9m43s
Tests and linters / Tests with -race (pull_request) Successful in 9m51s
Tests and linters / Tests (1.22) (pull_request) Successful in 10m18s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
09d9d47aef
commit
cbfe48b7ab
1 changed files with 4 additions and 4 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Reference in a new issue