Skip to content
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

fix: When the organization ID is changed the application should be moved #27

Merged
merged 1 commit into from
May 28, 2024

Conversation

grahamhar
Copy link
Contributor

I have been unable to run the new tests as is as I don't have access to the root org in our installation. I did test by using 2 orgs I do have access to so quite confident the proposed solution is OK. I wanted to avoid having to setup an org just for this test, happy to update to using that approach if the root org can't be used for some reason.

I have also added a prefix to created resources in tests, if the test fails and a resource is left dangling it makes it easier to identify.

closes: #25

@grahamhar grahamhar requested a review from madpah as a code owner May 15, 2024 11:38
Added a prefix to created resources in tests, if the test fails and a
resource is left dangling it makes it easier to identify.

Signed-off-by: grahamhar <grahamhar@users.noreply.github.com>
@sonatype-community-cla-app
Copy link

sonatype-community-cla-app bot commented May 28, 2024

CLA assistant check
All committers have signed the CLA.

@madpah madpah merged commit 93dc419 into sonatype-nexus-community:main May 28, 2024
3 of 8 checks passed
@grahamhar grahamhar deleted the fix-app-org branch May 28, 2024 15:25
@madpah
Copy link
Collaborator

madpah commented May 28, 2024

Running tests get the error: Applications cannot have the root organization as parent..

Will work on a patch for the tests @grahamhar.

@grahamhar
Copy link
Contributor Author

grahamhar commented May 28, 2024

Running tests get the error: Applications cannot have the root organization as parent..

Will work on a patch for the tests @grahamhar.

Oh so I guess we have to set up another org to do the test 😟, I'm happy to work on that if you are busy

@madpah
Copy link
Collaborator

madpah commented May 28, 2024

Yup - done and tests running on main...

@madpah
Copy link
Collaborator

madpah commented May 28, 2024

@madpah
Copy link
Collaborator

madpah commented May 28, 2024

Looks good now 👍

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.

Change in organizationID fails on application update
2 participants