Checkpoint - started to create database entities

This commit is contained in:
Filip Izydorczyk
2020-07-23 17:27:20 +02:00
parent 481922dbd3
commit c96d6d8380
24 changed files with 339 additions and 107 deletions

View File

@ -1,24 +0,0 @@
package com.plannaplan;
import java.util.List;
import org.junit.Assert;
import org.junit.Test;
import org.junit.Ignore;
import org.springframework.beans.factory.annotation.Autowired;
/**
* Unit test for simple App.
*/
public class AppTest {
@Autowired
private BookService bookService;
@Ignore
@Test
public void whenApplicationStarts_thenHibernateCreatesInitialRecords() {
List<Book> books = bookService.list();
Assert.assertEquals(books.size(), 1);
}
}