Преглед на файлове

GatherDeathCertificateDeceasedTimeLineDataWhenNotRegisteredTest

Andrew Grant преди 2 месеца
родител
ревизия
51784ad2db

+ 2 - 2
src/test/java/scot/carricksoftware/grantswriter/writer/latex/parts/people/subsections/helpers/level2/deathcertificate/GatherDeathCertificateDeceasedTimeLineDataWhenNotRegisteredTest.java

@@ -77,7 +77,7 @@ class GatherDeathCertificateDeceasedTimeLineDataWhenNotRegisteredTest {
 
     @Test
     void registeredByNullTest() {
-        deathCertificate.setWhenRegistered(null);
+        deathCertificate.setWhereRegistered(null);
         deathCertificates.add(deathCertificate);
         when(timelineDataMock.getTimeLine()).thenReturn(timeLine);
         gatherDeathCertificateDeceasedTimeLineData.gather(deathCertificates);
@@ -87,7 +87,7 @@ class GatherDeathCertificateDeceasedTimeLineDataWhenNotRegisteredTest {
 
     @Test
     void registeredByEmptyTest() {
-        deathCertificate.setWhenRegistered("");
+        deathCertificate.setWhereRegistered("");
         deathCertificates.add(deathCertificate);
         when(timelineDataMock.getTimeLine()).thenReturn(timeLine);
         gatherDeathCertificateDeceasedTimeLineData.gather(deathCertificates);