feat: asset storage (#1696)

* feat: remove assets

* feat: minio implementation

* fix: remove assets from tests

* feat: minio implementation

* feat: Env vars

* fix: sprintf

* fix: sprintf

* Update internal/eventstore/repository/repository.go

Co-authored-by: Livio Amstutz <livio.a@gmail.com>

* fix: error handling

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
Fabi
2021-05-03 10:15:50 +02:00
committed by GitHub
parent a5c6bf5498
commit 667cc30291
110 changed files with 306 additions and 938 deletions

View File

@@ -125,7 +125,6 @@ func TestCommandSide_SetOneTimePassword(t *testing.T) {
),
),
},
nil,
),
),
userPasswordAlg: crypto.CreateMockHashAlg(gomock.NewController(t)),
@@ -385,7 +384,6 @@ func TestCommandSide_SetPassword(t *testing.T) {
),
),
},
nil,
),
),
secretGenerator: GetMockSecretGenerator(t),
@@ -667,7 +665,6 @@ func TestCommandSide_ChangePassword(t *testing.T) {
),
),
},
nil,
),
),
userPasswordAlg: crypto.CreateMockHashAlg(gomock.NewController(t)),
@@ -853,7 +850,6 @@ func TestCommandSide_RequestSetPassword(t *testing.T) {
),
),
},
nil,
),
),
secretGenerator: GetMockSecretGenerator(t),
@@ -975,7 +971,6 @@ func TestCommandSide_PasswordCodeSent(t *testing.T) {
),
),
},
nil,
),
),
},
@@ -1157,7 +1152,6 @@ func TestCommandSide_CheckPassword(t *testing.T) {
),
),
},
nil,
),
),
userPasswordAlg: crypto.CreateMockHashAlg(gomock.NewController(t)),
@@ -1225,7 +1219,6 @@ func TestCommandSide_CheckPassword(t *testing.T) {
),
),
},
nil,
),
),
userPasswordAlg: crypto.CreateMockHashAlg(gomock.NewController(t)),