diff --git a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java index 09977609b6..279db4a5fe 100644 --- a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java +++ b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/KeysAndLeversTest.java @@ -92,7 +92,8 @@ private ConditionalStep init(WorldPoint playerLocation, Item[] mockedItems) .thenReturn(playerLocation); var mockedItemContainer = Mockito.mock(ItemContainer.class); - if (mockedItems != null) { + if (mockedItems != null) + { when(mockedItemContainer.getItems()).thenReturn(mockedItems); when(client.getItemContainer(InventoryID.INVENTORY)).thenReturn(mockedItemContainer); } diff --git a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/MetalDoorSolverTest.java b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/MetalDoorSolverTest.java index c3d79e91a1..d392301a71 100644 --- a/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/MetalDoorSolverTest.java +++ b/src/test/java/com/questhelper/helpers/quests/thecurseofarrav/MetalDoorSolverTest.java @@ -36,7 +36,7 @@ public class MetalDoorSolverTest public void testValidCodes() { // from pajdonk - assertArrayEquals(new int[]{0, 2, 3, 5},MetalDoorSolver.calculate("IFCB")); + assertArrayEquals(new int[]{0, 2, 3, 5}, MetalDoorSolver.calculate("IFCB")); // from Gupinic assertArrayEquals(new int[]{1, 3, 7, 2}, MetalDoorSolver.calculate("FBDG")); @@ -55,7 +55,7 @@ public void testValidCodes() public void testLowercaseValidCodes() { // from pajdonk - assertArrayEquals(new int[]{0, 2, 3, 5},MetalDoorSolver.calculate("ifcb")); + assertArrayEquals(new int[]{0, 2, 3, 5}, MetalDoorSolver.calculate("ifcb")); // from Gupinic assertArrayEquals(new int[]{1, 3, 7, 2}, MetalDoorSolver.calculate("fbdg"));