mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-05 05:42:16 +00:00
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 <[email protected]> * fix: error handling Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -175,7 +175,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
iamDomain: "iam-domain",
|
||||
@@ -309,7 +308,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
|
||||
),
|
||||
),
|
||||
@@ -454,7 +452,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
|
||||
),
|
||||
),
|
||||
@@ -609,7 +606,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(org.NewRemoveOrgDomainUniqueConstraint("test1")),
|
||||
),
|
||||
),
|
||||
@@ -806,7 +802,6 @@ func TestCommandSide_SetOrgFeatures(t *testing.T) {
|
||||
newFeaturesSetEvent(context.Background(), "org1", "Test", domain.FeaturesStateActive, time.Hour),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
iamDomain: "iam-domain",
|
||||
@@ -989,7 +984,6 @@ func TestCommandSide_RemoveOrgFeatures(t *testing.T) {
|
||||
org.NewFeaturesRemovedEvent(context.Background(), &org.NewAggregate("org1", "org1").Aggregate),
|
||||
),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
iamDomain: "iam-domain",
|
||||
|
||||
Reference in New Issue
Block a user