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

bug: add workspace_id to query #20011

Merged
merged 2 commits into from
Dec 2, 2022
Merged

Conversation

cgardens
Copy link
Contributor

@cgardens cgardens commented Dec 2, 2022

What

@cgardens cgardens requested a review from a team as a code owner December 2, 2022 00:29
@cgardens cgardens temporarily deployed to more-secrets December 2, 2022 00:31 Inactive
@@ -41,6 +41,12 @@ void setup() {
null));
}

@Test
void testGetWorkspace() throws ConfigNotFoundException, IOException, JsonValidationException {
configRepository.writeStandardWorkspaceNoSecrets(createBaseStandardWorkspace().withWorkspaceId(UUID.randomUUID()));
Copy link
Contributor

Choose a reason for hiding this comment

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

So before your bug fix, would this test fail because the returned workspace would have the UUID.randomUUID() instead of the WORKSPACE_ID? Just making sure I follow the logic of the test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

exactly.

Copy link
Contributor

@pmossman pmossman left a comment

Choose a reason for hiding this comment

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

Code looks good to me, just had a question to make sure I follow the logic of the new test case that you added!

@cgardens cgardens temporarily deployed to more-secrets December 2, 2022 01:41 Inactive
@cgardens cgardens temporarily deployed to more-secrets December 2, 2022 04:11 Inactive
@cgardens cgardens merged commit ef13c3e into master Dec 2, 2022
@cgardens cgardens deleted the cgardens/bug-add-workspace-id-param branch December 2, 2022 05:23
terencecho added a commit that referenced this pull request Dec 2, 2022
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.

2 participants