forked from TrueCloudLab/frostfs-s3-gw
[#642] Simplify tests
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
092567a5a0
commit
711d6b2c71
5 changed files with 192 additions and 178 deletions
|
@ -145,7 +145,7 @@ func TestCheckSignV4a(t *testing.T) {
|
|||
|
||||
c := &Center{
|
||||
cli: mock,
|
||||
regV4a: NewRegexpMatcher(authorizationFieldV4aRegexp),
|
||||
regV4a: NewRegexpMatcher(AuthorizationFieldV4aRegexp),
|
||||
postReg: NewRegexpMatcher(postPolicyCredentialRegexp),
|
||||
}
|
||||
box, err := c.Authenticate(req)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue