Parcourir la source

Notes added to census bootstrap

Andrew Grant il y a 7 mois
Parent
commit
6b47432de3

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

@@ -79,6 +79,7 @@ public class DataLoadCensus {
         censusEntryCommand.setBirthDay("25/01");
         censusEntryCommand.setBirthYear("1953");
         censusEntryCommand.setPersonalOccupation("AA Patrol");
+        censusEntryCommand.setNotes("Record Closed");
 
         censusEntryService.saveCensusEntryCommand(censusEntryCommand);
     }

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

@@ -93,6 +93,7 @@ public class DataLoadCensusTest {
         assertEquals("25/01", captor.getValue().getBirthDay());
         assertEquals("1953", captor.getValue().getBirthYear());
         assertEquals("AA Patrol", captor.getValue().getPersonalOccupation());
+        assertEquals("Record Closed", captor.getValue().getNotes());
 
     }