-
Notifications
You must be signed in to change notification settings - Fork 4
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
Correct handling of multiple spaces in one environment in get request #162
Conversation
@@ -54,6 +54,35 @@ class JPAEnvironmentRepositoryIT extends Specification { | |||
} | |||
} | |||
|
|||
def 'should overwrite what was persisted before - one environment with multiple spaces'() { |
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.
According to test name it should check if persist
method overwrite previous environment state so there is missing persist
call in given section (look for test above)
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.
wrong test name - will fix it
def thirdSpace = new Space('def', [new ServiceId('serviceName5', 'serviceVersion5')] as Set) | ||
|
||
and: | ||
def environment = new Environment('environmentName', [firstSpace, secondSpace, thirdSpace] as Set) |
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.
Minor - formatting - missing tabs
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.
sometimes we have it without indent, sometimes with. We would need to address this globally
No description provided.