Skip to content

Add unit-test to GetProjectDomain in BaseClient #1094

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

edwardrf
Copy link
Contributor

Description

Linked Issues

Checklist

  • I have performed a self-review of my code
  • I have added appropriate tests
  • I have updated the Defang CLI docs and/or README to reflect my changes, if necessary

@edwardrf edwardrf force-pushed the edw/add-get-project-domain-test branch from 2e8033c to f27b88c Compare April 1, 2025 18:17
Copy link
Member

@lionello lionello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait is this a breaking change? Previously no stack when project-is-tenant-name, but now it gets stack

Comment on lines +196 to +197
{"", "test-zone", "test-tenant", TestProjectBackendWithoutStack{}, ""},
{"", "test-zone", "test-tenant", TestProjectBackendWithStack{stack: "test-stack"}, ""},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this is unlikely (or impossible) based on validation further up the stack, but should we generate a project prefix in this case (or panic)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants