Răsfoiți Sursa

Birth Certificate family in bootstrap (2)

Andrew Grant 6 luni în urmă
părinte
comite
925466839c

+ 1 - 1
src/main/java/scot/carricksoftware/grants/bootstrap/DataLoadCertificates.java

@@ -68,7 +68,7 @@ public class DataLoadCertificates {
         birthCertificateCommand.setSex(Sex.MALE);
         birthCertificateCommand.setWhenBorn("25/01/1953 01:01");
         birthCertificateCommand.setWhereBorn("where born");
-        birthCertificateCommand.setDateAndPlaceOfMarriage("dateAndPlaceOfMarriage");
+        birthCertificateCommand.setDateAndPlaceOfMarriage("date and place of marriage");
         birthCertificateCommand.setFatherRank("fatherRank");
 
         Person father = new Person();

+ 1 - 0
src/test/java/scot/carricksoftware/grants/bootstrap/DataLoadCertificatesTest.java

@@ -76,6 +76,7 @@ public class DataLoadCertificatesTest {
         assertEquals("untrackedFather", captor.getValue().getUntrackedFather());
         assertEquals("father", captor.getValue().getFather().getFirstName());
         assertEquals("mother", captor.getValue().getMother().getFirstName());
+        assertEquals("date and place of marriage", captor.getValue().getDateAndPlaceOfMarriage());
 
     }