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:
parent
826ba42d0a
commit
52e7ebfd1b
@ -45,12 +45,6 @@ func TestList(t *testing.T) {
|
||||
{
|
||||
"user1": "roleA",
|
||||
},
|
||||
{
|
||||
"user1": "roleA",
|
||||
},
|
||||
{
|
||||
"user1": "roleA",
|
||||
},
|
||||
},
|
||||
partitions: map[string][]Partition{
|
||||
"user1": {
|
||||
|
Loading…
Reference in New Issue
Block a user