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

Issue #359 reporting legacy input controls on modules methods #395

Conversation

Lucas-C
Copy link
Member

@Lucas-C Lucas-C commented Nov 5, 2018

Cette PR ne comprend que le partie "contrôles des inputs"

@Lucas-C Lucas-C requested a review from thomaslhostis November 5, 2018 09:06
@Lucas-C Lucas-C force-pushed the issue_359_reporting_legacy_input_controls_on_modules_methods branch from 4c489d9 to b9ab73b Compare November 5, 2018 09:38
@Lucas-C
Copy link
Member Author

Lucas-C commented Nov 5, 2018

@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$", () -> {
Copy link
Collaborator

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

Copy link
Member Author

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$", () -> {
Copy link
Collaborator

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

Copy link
Member Author

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);
Copy link
Collaborator

Choose a reason for hiding this comment

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

👍

@thomaslhostis thomaslhostis merged commit 6bd2881 into sncf-connect-tech:develop Nov 5, 2018
@Lucas-C Lucas-C deleted the issue_359_reporting_legacy_input_controls_on_modules_methods branch December 20, 2018 10:32
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