mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 12:47:35 +00:00
fixup! fixup! fixup! fixup! fixup! fix(projections): added check to make sure there cannot be 2 projections for the same table
This commit is contained in:
@@ -20,7 +20,7 @@ func TestStart(t *testing.T) {
|
||||
name: "happy path",
|
||||
projections: func(t *testing.T) []projection {
|
||||
ctrl := gomock.NewController(t)
|
||||
projections := make([]projection, 5, 5)
|
||||
projections := make([]projection, 5)
|
||||
|
||||
for i := range 5 {
|
||||
mock := NewMockprojection(ctrl)
|
||||
@@ -35,7 +35,7 @@ func TestStart(t *testing.T) {
|
||||
{
|
||||
name: "same projection used twice error",
|
||||
projections: func(t *testing.T) []projection {
|
||||
projections := make([]projection, 5, 5)
|
||||
projections := make([]projection, 5)
|
||||
|
||||
ctrl := gomock.NewController(t)
|
||||
mock := NewMockprojection(ctrl)
|
||||
|
Reference in New Issue
Block a user