fix(eventstore): revert precise decimal (#8527) (#8679)

(cherry picked from commit aeb379e7de)
This commit is contained in:
Tim Möhlmann
2024-09-24 19:43:29 +03:00
committed by Livio Spring
parent f0ce5d537c
commit 6bd706be98
47 changed files with 215 additions and 319 deletions

View File

@@ -4,8 +4,6 @@ import (
"database/sql"
"testing"
"github.com/shopspring/decimal"
"github.com/zitadel/zitadel/internal/eventstore"
"github.com/zitadel/zitadel/internal/eventstore/repository"
)
@@ -314,7 +312,7 @@ func generateEvent(t *testing.T, aggregateID string, opts ...func(*repository.Ev
ResourceOwner: sql.NullString{String: "ro", Valid: true},
Typ: "test.created",
Version: "v1",
Pos: decimal.NewFromInt(42),
Pos: 42,
}
for _, opt := range opts {