mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +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 <livio.a@gmail.com> * fix: error handling Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -179,7 +179,6 @@ func TestCommandSide_AddProjectGrant(t *testing.T) {
|
||||
[]string{"key1"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(project.NewAddProjectGrantUniqueConstraint("grantedorg1", "project1")),
|
||||
),
|
||||
),
|
||||
@@ -512,7 +511,6 @@ func TestCommandSide_ChangeProjectGrant(t *testing.T) {
|
||||
[]string{"key1", "key2"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -593,7 +591,6 @@ func TestCommandSide_ChangeProjectGrant(t *testing.T) {
|
||||
[]string{"key1"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -688,7 +685,6 @@ func TestCommandSide_ChangeProjectGrant(t *testing.T) {
|
||||
[]string{"key1"},
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -899,7 +895,6 @@ func TestCommandSide_DeactivateProjectGrant(t *testing.T) {
|
||||
"projectgrant1",
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1096,7 +1091,6 @@ func TestCommandSide_ReactivateProjectGrant(t *testing.T) {
|
||||
"projectgrant1",
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
),
|
||||
),
|
||||
},
|
||||
@@ -1258,7 +1252,6 @@ func TestCommandSide_RemoveProjectGrant(t *testing.T) {
|
||||
"grantedorg1",
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(project.NewRemoveProjectGrantUniqueConstraint("grantedorg1", "project1")),
|
||||
),
|
||||
),
|
||||
@@ -1305,7 +1298,6 @@ func TestCommandSide_RemoveProjectGrant(t *testing.T) {
|
||||
"grantedorg1",
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(project.NewRemoveProjectGrantUniqueConstraint("grantedorg1", "project1")),
|
||||
),
|
||||
),
|
||||
@@ -1365,7 +1357,6 @@ func TestCommandSide_RemoveProjectGrant(t *testing.T) {
|
||||
"projectgrant1",
|
||||
)),
|
||||
},
|
||||
nil,
|
||||
uniqueConstraintsFromEventConstraint(project.NewRemoveProjectGrantUniqueConstraint("grantedorg1", "project1")),
|
||||
uniqueConstraintsFromEventConstraint(usergrant.NewRemoveUserGrantUniqueConstraint("org1", "user1", "project1", "projectgrant1")),
|
||||
),
|
||||
|
Reference in New Issue
Block a user