Forgot to add the new Entity to the JPA configuration for fix for #14.
This commit is contained in:
@@ -86,7 +86,7 @@ class RepositoryRestControllerSpec extends Specification {
|
||||
|
||||
then:
|
||||
mv.model.status == HttpStatus.OK
|
||||
reposLinks?.size() == 3
|
||||
reposLinks?.size() == 4
|
||||
|
||||
when: "adding an entity"
|
||||
model.clear()
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
|
||||
<persistence-unit name="jpa.sample">
|
||||
<class>org.springframework.data.rest.test.webmvc.Family</class>
|
||||
<class>org.springframework.data.rest.test.webmvc.Person</class>
|
||||
<class>org.springframework.data.rest.test.webmvc.Profile</class>
|
||||
<class>org.springframework.data.rest.test.webmvc.Address</class>
|
||||
|
||||
Reference in New Issue
Block a user