-
Notifications
You must be signed in to change notification settings - Fork 28
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
Issue #359 reporting legacy input controls on modules methods #395
Issue #359 reporting legacy input controls on modules methods #395
Conversation
4c489d9
to
b9ab73b
Compare
@thomaslhostis : les tests passent cette fois :) |
//TODO Vérifier si on doit renvoyer le même message que dans le legacy et tester le cas échéant | ||
}); | ||
|
||
Then("^the request is rejected with a bad request error$", () -> { |
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.
Cette glue est trop générique et risque de poser problème par la suite si on la réutilise dans un autre scénario
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.
Ok, discuté à l'oral, je fais le refacto dans mon prochain commit
@@ -39,7 +39,7 @@ public GetModulesTypes() { | |||
assertEquals("workingcopy", responseEntity.getBody()[0]); | |||
}); | |||
|
|||
Then("^a list containing nothing is returned$", () -> { | |||
Then("^an empty list is returned$", () -> { |
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.
La phrase est mieux formulée mais tout comme ma glue c'est trop générique
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.
Ok, discuté à l'oral, je fais le refacto dans mon prochain commit
@@ -64,16 +64,22 @@ public ReleaseModules() { | |||
} | |||
|
|||
moduleClient.release(moduleBuilder.build(), ModuleIO.class); | |||
moduleBuilder.withVersionId(1).withIsWorkingCopy(false); | |||
moduleBuilder.withVersionId(1).withModuleType(ModuleBuilder.RELEASE); |
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.
👍
Cette PR ne comprend que le partie "contrôles des inputs"