Skip to content

Commit

Permalink
jonashackt#13: Spring Boot 1.5.8 --> 2.0.1; rest-assured 3.0.3 --> 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashackt committed Apr 17, 2018
1 parent 3f214f7 commit abfea0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<rest-assured.version>3.0.3</rest-assured.version>
<rest-assured.version>3.0.7</rest-assured.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class BackendController {

@GetMapping(path="/user/{id}")
public @ResponseBody User getUserById(@PathVariable("id") long id) {
return userRepository.findOne(id);
return userRepository.findById(id).get();
}

}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.8.RELEASE</version>
<version>2.0.1.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand Down

0 comments on commit abfea0b

Please sign in to comment.