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

@@ -257,7 +257,6 @@ func TestCommandSide_UsernameChange(t *testing.T) {
),
),
},
nil,
uniqueConstraintsFromEventConstraint(user.NewRemoveUsernameUniqueConstraint("username", "org1", true)),
uniqueConstraintsFromEventConstraint(user.NewAddUsernameUniqueConstraint("username1", "org1", true)),
),
@@ -415,7 +414,6 @@ func TestCommandSide_DeactivateUser(t *testing.T) {
),
),
},
nil,
),
),
},
@@ -569,7 +567,6 @@ func TestCommandSide_ReactivateUser(t *testing.T) {
),
),
},
nil,
),
),
},
@@ -724,7 +721,6 @@ func TestCommandSide_LockUser(t *testing.T) {
),
),
},
nil,
),
),
},
@@ -878,7 +874,6 @@ func TestCommandSide_UnlockUser(t *testing.T) {
),
),
},
nil,
),
),
},
@@ -1041,7 +1036,6 @@ func TestCommandSide_RemoveUser(t *testing.T) {
),
),
},
nil,
uniqueConstraintsFromEventConstraint(user.NewRemoveUsernameUniqueConstraint("username", "org1", true)),
),
),
@@ -1237,7 +1231,6 @@ func TestCommandSide_UserDomainClaimedSent(t *testing.T) {
),
),
},
nil,
),
),
},