mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
refactor(fmt): run gci on complete project (#7557)
chore(fmt): run gci on complete project Fix global import formatting in go code by running the `gci` command. This allows us to just use the command directly, instead of fixing the import order manually for the linter, on each PR. Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -11,7 +11,7 @@ import (
|
||||
"github.com/zitadel/zitadel/internal/eventstore"
|
||||
)
|
||||
|
||||
//Want represents the expected values for each step
|
||||
// Want represents the expected values for each step
|
||||
type Want struct {
|
||||
ValidationErr error
|
||||
CreateErr error
|
||||
@@ -22,7 +22,7 @@ type CommandVerifier interface {
|
||||
Validate(eventstore.Command) bool
|
||||
}
|
||||
|
||||
//AssertValidation checks if the validation works as inteded
|
||||
// AssertValidation checks if the validation works as inteded
|
||||
func AssertValidation(t *testing.T, ctx context.Context, validation preparation.Validation, filter preparation.FilterToQueryReducer, want Want) {
|
||||
t.Helper()
|
||||
|
||||
|
Reference in New Issue
Block a user