Skip to content

Commit

Permalink
PE-72 Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanepechard authored and burhanrashid52 committed Jul 10, 2021
1 parent 5d88736 commit 2b47c30
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ public void testCanvasIsDrawingCorrectlyOnDraw() {
Canvas canvas = Mockito.mock(Canvas.class);
drawingView.onDraw(canvas);

int numberOfDraw = numberOfTouch + 1; // +1 for eraser
verify(canvas, times(numberOfDraw))
verify(canvas, times(numberOfTouch))
.drawPath(any(Path.class), any(Paint.class));
}

Expand Down

0 comments on commit 2b47c30

Please sign in to comment.