File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,6 @@ type Service interface {
35
35
DeleteObject (containerName , versionID , objectKey string ) func (ctx context.Context ) error
36
36
}
37
37
38
- func init () {
39
- log .SetLevel (log .TraceLevel )
40
- }
41
-
42
38
type service struct {
43
39
cache cache.CacheRepository
44
40
cli v1proto.ManageServiceClient
Original file line number Diff line number Diff line change @@ -7,12 +7,17 @@ import (
7
7
"net/http/httptest"
8
8
"testing"
9
9
10
+ log "github.com/sirupsen/logrus"
10
11
"github.com/stretchr/testify/suite"
11
12
ptr "github.com/teran/go-ptr"
12
13
13
14
cacheMock "github.com/teran/archived/cli/service/stat_cache/mock"
14
15
)
15
16
17
+ func init () {
18
+ log .SetLevel (log .TraceLevel )
19
+ }
20
+
16
21
func (s * serviceTestSuite ) TestCreateContainer () {
17
22
s .cliMock .On ("CreateContainer" , "test-container" ).Return (nil ).Once ()
18
23
You can’t perform that action at this time.
0 commit comments