mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-14 01:17:34 +00:00
fixup! feat(api): moving organization API resourced based
This commit is contained in:
@@ -9,10 +9,11 @@ import (
|
|||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
"github.com/zitadel/zitadel/internal/integration"
|
|
||||||
instance "github.com/zitadel/zitadel/pkg/grpc/instance/v2beta"
|
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
"google.golang.org/grpc/status"
|
"google.golang.org/grpc/status"
|
||||||
|
|
||||||
|
"github.com/zitadel/zitadel/internal/integration"
|
||||||
|
instance "github.com/zitadel/zitadel/pkg/grpc/instance/v2beta"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestDeleteInstace(t *testing.T) {
|
func TestDeleteInstace(t *testing.T) {
|
||||||
|
@@ -11,12 +11,13 @@ import (
|
|||||||
"github.com/brianvoe/gofakeit/v6"
|
"github.com/brianvoe/gofakeit/v6"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"github.com/stretchr/testify/require"
|
"github.com/stretchr/testify/require"
|
||||||
|
"google.golang.org/grpc/codes"
|
||||||
|
"google.golang.org/grpc/status"
|
||||||
|
|
||||||
"github.com/zitadel/zitadel/internal/integration"
|
"github.com/zitadel/zitadel/internal/integration"
|
||||||
filter "github.com/zitadel/zitadel/pkg/grpc/filter/v2beta"
|
filter "github.com/zitadel/zitadel/pkg/grpc/filter/v2beta"
|
||||||
instance "github.com/zitadel/zitadel/pkg/grpc/instance/v2beta"
|
instance "github.com/zitadel/zitadel/pkg/grpc/instance/v2beta"
|
||||||
"github.com/zitadel/zitadel/pkg/grpc/object/v2"
|
"github.com/zitadel/zitadel/pkg/grpc/object/v2"
|
||||||
"google.golang.org/grpc/codes"
|
|
||||||
"google.golang.org/grpc/status"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestGetInstance(t *testing.T) {
|
func TestGetInstance(t *testing.T) {
|
||||||
|
@@ -1,11 +1,12 @@
|
|||||||
package metadata
|
package metadata
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"google.golang.org/protobuf/types/known/timestamppb"
|
||||||
|
|
||||||
v2beta_object "github.com/zitadel/zitadel/internal/api/grpc/object/v2beta"
|
v2beta_object "github.com/zitadel/zitadel/internal/api/grpc/object/v2beta"
|
||||||
"github.com/zitadel/zitadel/internal/query"
|
"github.com/zitadel/zitadel/internal/query"
|
||||||
"github.com/zitadel/zitadel/internal/zerrors"
|
"github.com/zitadel/zitadel/internal/zerrors"
|
||||||
meta_pb "github.com/zitadel/zitadel/pkg/grpc/metadata/v2beta"
|
meta_pb "github.com/zitadel/zitadel/pkg/grpc/metadata/v2beta"
|
||||||
"google.golang.org/protobuf/types/known/timestamppb"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// code in this file is copied from internal/api/grpc/metadata/metadata.go
|
// code in this file is copied from internal/api/grpc/metadata/metadata.go
|
||||||
|
Reference in New Issue
Block a user