Skip to content

Commit

Permalink
resolved conversations
Browse files Browse the repository at this point in the history
  • Loading branch information
josephbate committed Nov 21, 2024
1 parent 1c1aa15 commit 3d1e50c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ public void updateAddressPart_shouldUpdateAddressPart() throws Exception {

String partId = partService.insert(part);
AddressPart savedPart = partService.get(partId);
savedPart.setPartName("upadtedName");
savedPart.setPartName("updatedName");
partService.save(savedPart);

Assert.assertEquals("upadtedName", savedPart.getPartName());
Assert.assertEquals("updatedName", savedPart.getPartName());

}

Expand All @@ -84,7 +84,7 @@ public void deleteAddressPart_shouldDeleteAddressPart() throws Exception {

String partId = partService.insert(part);
AddressPart savedPart = partService.get(partId);
savedPart.setPartName("upadtedName");
savedPart.setPartName("updatedName");
partService.delete(savedPart);

Assert.assertEquals(0, partService.getAll().size());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ public void insert_shouldInsertPersonAdress() throws Exception {

Assert.assertEquals(0, pAddressService.getAll().size());

AddressPK savedPAID = pAddressService.insert(personAddress);
PersonAddress address = pAddressService.get(savedPAID);
AddressPK savedAddressPK = pAddressService.insert(personAddress);
PersonAddress address = pAddressService.get(savedAddressPK);

Assert.assertEquals("123", address.getValue());
Assert.assertEquals("B", address.getType());
Expand Down

0 comments on commit 3d1e50c

Please sign in to comment.