mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-19 11:45:12 +00:00
chore(test): streamline integration tests for instance management (#12243)
- Removed redundant relational instance handling in integration tests for adding and removing custom domains. - Simplified test cases by consolidating instance creation and context management. - Enhanced clarity and maintainability of test logic by reducing complexity in test structures. # Which Problems Are Solved `backed/v3` tests are flaky, but the code is not productive. Development is paused for the moment. Disabling flaky tests helps us to maintain the product easier. # How the Problems Are Solved - Removed redundant relational instance handling in integration tests for adding and removing custom domains. - Simplified test cases by consolidating instance creation and context management. - Enhanced clarity and maintainability of test logic by reducing complexity in test structures.newly introduced terms). # Additional Context - related to https://github.com/zitadel/zitadel/pull/12241 --------- Co-authored-by: Livio Spring <[email protected]> Co-authored-by: Copilot Autofix powered by AI <[email protected]>
This commit is contained in:
co-authored by
Livio Spring
Copilot Autofix powered by AI
parent
7019a03ec4
commit
f85a2373c5
@@ -19,13 +19,6 @@ import (
|
||||
"github.com/zitadel/zitadel/pkg/grpc/org/v2"
|
||||
)
|
||||
|
||||
// TODO(IAM-Marco): When permission checks will be implemented, this test needs to be updated to
|
||||
// add the feature flag switch:
|
||||
//
|
||||
// relTableState := integration.RelationalTablesEnableMatrix()
|
||||
//
|
||||
// See TestServer_ListOrganizations in org/v2beta/integration_test
|
||||
// See https://github.com/zitadel/zitadel/issues/10219
|
||||
func TestServer_ListOrganizations(t *testing.T) {
|
||||
ListOrgIinstance := integration.NewInstance(CTX)
|
||||
listOrgIAmOwnerCtx := ListOrgIinstance.WithAuthorizationToken(CTX, integration.UserTypeIAMOwner)
|
||||
|
||||
Reference in New Issue
Block a user