forked from TrueCloudLab/frostfs-node
[#1618] ape: Fix object service request tests
Constant string `testOwnerID` for these tests has an invalid format. It has 11 bytes instead of required 25 for `user.ID`. It worked because: 1. `user.ID` was a byte slice and didn't check length and format of byte slices decoded from strings. 2. in these tests `testOwnerID` was used only to decode container owner id and to compare it with owner id encoded back to string. Since `user.ID implementation has changed`, the problem arised. Now `testOwnerID` is valid. Signed-off-by: Ekaterina Lebedeva <ekaterina.lebedeva@yadro.com>
This commit is contained in:
parent
57dc0a8e9e
commit
713f4b144c
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
testOwnerID = "FPPtmAi9TCX329"
|
testOwnerID = "NURFM8PWbLA2aLt2vrD8q4FyfAdgESwM8y"
|
||||||
|
|
||||||
incomingIP = "192.92.33.1"
|
incomingIP = "192.92.33.1"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue