Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
mghilardelli committed Mar 4, 2024
1 parent 0417165 commit 76a0b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class HelloWorldController {

@GetMapping
String get() {
return "Hello DAS Test fail";
return "Hello DAS Test";
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ class HelloWorldControllerTest {
@Test
void getShouldReturnDefaultMessage() {
assertThat(this.restTemplate.getForObject("http://localhost:" + port + "/", String.class))
.contains("Hello DAS Playground");
.contains("Hello DAS Test");
}
}

0 comments on commit 76a0b0e

Please sign in to comment.