Fixed another assert that change

This commit is contained in:
Kushagra Thapar 2020-02-10 09:43:43 -08:00
Родитель ed2314b8ca
Коммит 9058621771
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -89,7 +89,7 @@ public class AddressRepositoryIT {
fail("address not found");
return;
}
assertThat(addressById.get().equals(TEST_ADDRESS1_PARTITION1));
assertThat(addressById.get()).isEqualTo(TEST_ADDRESS1_PARTITION1);
}
@Test
@ -97,8 +97,8 @@ public class AddressRepositoryIT {
final List<Address> addresses = repository.findByPostalCode(TestConstants.POSTAL_CODE);
assertThat(addresses.size()).isEqualTo(2);
assertThat(addresses.get(0).getPostalCode().equals(TestConstants.POSTAL_CODE));
assertThat(addresses.get(1).getPostalCode().equals(TestConstants.POSTAL_CODE));
assertThat(addresses.get(0).getPostalCode()).isEqualTo(TestConstants.POSTAL_CODE);
assertThat(addresses.get(1).getPostalCode()).isEqualTo(TestConstants.POSTAL_CODE);
}
@Test