mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
fix: missing user policy enforcement in PostPolicyHandler (#11682)
This commit is contained in:
@@ -84,7 +84,7 @@ func TestDoesPolicySignatureMatch(t *testing.T) {
|
||||
|
||||
// Run each test case individually.
|
||||
for i, testCase := range testCases {
|
||||
code := doesPolicySignatureMatch(testCase.form)
|
||||
_, code := doesPolicySignatureMatch(testCase.form)
|
||||
if code != testCase.expected {
|
||||
t.Errorf("(%d) expected to get %s, instead got %s", i, niceError(testCase.expected), niceError(code))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user