-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Conversation
@@ -41,6 +41,12 @@ void setup() { | |||
null)); | |||
} | |||
|
|||
@Test | |||
void testGetWorkspace() throws ConfigNotFoundException, IOException, JsonValidationException { | |||
configRepository.writeStandardWorkspaceNoSecrets(createBaseStandardWorkspace().withWorkspaceId(UUID.randomUUID())); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exactly.
There was a problem hiding this 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!
This reverts commit ef13c3e.
What
workspaceQuery()
should take in a workspace id in order to service get workspace, but right now it does not.