Переглянути джерело

Birth Certificate bootstrap
Closes #60

Andrew Grant 6 місяців тому
батько
коміт
1d85707819

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

@@ -61,7 +61,7 @@ public class DataLoadCertificates {
         birthCertificateCommand.setNumber("01");
         birthCertificateCommand.setVolume("1953");
         birthCertificateCommand.setSex(Sex.MALE);
-        birthCertificateCommand.setWhenBorn("25/01/1953");
+        birthCertificateCommand.setWhenBorn("25/01/1953 01:01");
         birthCertificateCommand.setWhereBorn("Edinburgh");
 
         birthCertificateService.saveBirthCertificateCommand(birthCertificateCommand);

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

@@ -70,7 +70,7 @@ public class DataLoadCertificatesTest {
         assertEquals("01", captor.getValue().getNumber());
         assertEquals("1953", captor.getValue().getVolume());
         assertEquals(Sex.MALE, captor.getValue().getSex());
-        assertEquals("25/01/1953", captor.getValue().getWhenBorn());
+        assertEquals("25/01/1953 01:01", captor.getValue().getWhenBorn());
         assertEquals("Edinburgh", captor.getValue().getWhereBorn());
     }