[#260] Use namespace as domain when resolve bucket
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
a61ff3b8cb
commit
055cc6a22a
16 changed files with 159 additions and 46 deletions
|
@ -18,6 +18,12 @@ func (c *centerMock) Authenticate(*http.Request) (*middleware.Box, error) {
|
|||
return &middleware.Box{}, nil
|
||||
}
|
||||
|
||||
type requestSettingsMock struct{}
|
||||
|
||||
func (r *requestSettingsMock) NamespaceHeader() string {
|
||||
return "X-Frostfs-Namespace"
|
||||
}
|
||||
|
||||
type handlerMock struct {
|
||||
t *testing.T
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue