frostfs-node/pkg/services/object/ape
Ekaterina Lebedeva 9ee3dd4e91 [#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>
2025-01-30 13:18:37 +00:00
..
checker.go [#1480] ape: Remove SoftAPECheck flag 2024-11-08 12:01:14 +00:00
checker_test.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
errors.go [#1563] object: Wrap only ChainRouterError erros with ObjectAccessDenied 2024-12-16 15:15:25 +03:00
request.go [#1479] go.mod: Bump frostfs-sdk-go version 2024-11-08 10:43:19 +03:00
request_test.go [#1618] ape: Fix object service request tests 2025-01-30 13:18:37 +00:00
service.go [#1243] object: Look for X-Headers within origin before APE check 2025-01-13 12:07:27 +00:00
types.go [#872] object: Introduce APE middlewar for object service 2024-01-12 18:41:35 +03:00