From 731443903d7e0cebb74b905e8a7cda557e726367 Mon Sep 17 00:00:00 2001 From: Denny Schumann <schumann1991@gmx.de> Date: Mon, 24 Jun 2019 21:37:38 +0200 Subject: [PATCH] delete code line throw new Exception(); --- .../samples/petclinic/owner/VisitControllerTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/test/java/org/springframework/samples/petclinic/owner/VisitControllerTests.java b/src/test/java/org/springframework/samples/petclinic/owner/VisitControllerTests.java index ba0e2ba..3edd209 100644 --- a/src/test/java/org/springframework/samples/petclinic/owner/VisitControllerTests.java +++ b/src/test/java/org/springframework/samples/petclinic/owner/VisitControllerTests.java @@ -86,7 +86,6 @@ public class VisitControllerTests { .andExpect(model().attributeHasErrors("visit")) .andExpect(status().isOk()) .andExpect(view().name("pets/createOrUpdateVisitForm")); - throw new Exception(); } } -- GitLab