update to spring 5
This commit is contained in:
+1
-1
@@ -38,7 +38,7 @@ public class SpringDataProjectionIntegrationTest {
|
||||
|
||||
@Before
|
||||
public void setup(){
|
||||
if(bookRepo.findOne(1L) == null){
|
||||
if(bookRepo.findById(1L) == null){
|
||||
Book book = new Book("Animal Farm");
|
||||
book.setIsbn("978-1943138425");
|
||||
book = bookRepo.save(book);
|
||||
|
||||
Reference in New Issue
Block a user