Skip to content

Commit

Permalink
Fix test to account for extra columns. Update matcher due to mockito 5
Browse files Browse the repository at this point in the history
  • Loading branch information
bbpennel committed Apr 12, 2024
1 parent a0ec051 commit 023172c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
import static org.mockito.Matchers.any;
import static org.mockito.ArgumentMatchers.any;
import static org.mockito.Mockito.when;
import static org.mockito.MockitoAnnotations.openMocks;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void allExpectedCellsPopulatedTest() throws Exception {
XSSFWorkbook workbook = new XSSFWorkbook(inputStream);
Sheet sheet = workbook.getSheetAt(0);

assertEquals(60, sheet.getLastRowNum());
assertEquals(62, sheet.getLastRowNum());
assertEquals(16, sheet.getRow(0).getPhysicalNumberOfCells());
assertEquals(12, sheet.getRow(1).getPhysicalNumberOfCells());
assertEquals(12, sheet.getRow(60).getPhysicalNumberOfCells());
Expand Down

0 comments on commit 023172c

Please sign in to comment.