fix: imports in error pkg tests

This commit is contained in:
Livio Amstutz 2020-03-23 06:34:08 +01:00
parent 7ef62528d1
commit 021ee07350
14 changed files with 14 additions and 14 deletions

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestAlreadyExistsError(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestErrorMethod(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestDeadlineExceededError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errors "github.com/caos/utils/errors"
caos_errors "github.com/caos/zitadel/internal/errors"
)
func TestContains(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func Test{{.ErrorName}}Error(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestInternalError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestInvalidArgumentError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestNotFoundError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestPermissionDeniedError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestPreconditionFailedError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestUnauthenticatedError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestUnavailableError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestUnimplementedError(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
caos_errs "github.com/caos/utils/errors"
caos_errs "github.com/caos/zitadel/internal/errors"
)
func TestUnknownError(t *testing.T) {