1
0
mirror of https://github.com/rancher/steve.git synced 2025-05-10 00:47:07 +00:00

Fix partition unit test

Remove unnecessary items from the `access` slice in one of the unit
tests. Each item in `access` corresponds to one request in `apiOps`, so
they should have the same number of elements.
This commit is contained in:
Colleen Murphy 2023-09-20 13:58:37 -07:00
parent 826ba42d0a
commit 52e7ebfd1b

View File

@ -45,12 +45,6 @@ func TestList(t *testing.T) {
{
"user1": "roleA",
},
{
"user1": "roleA",
},
{
"user1": "roleA",
},
},
partitions: map[string][]Partition{
"user1": {