Invalid ApplicationExceptionTest
[portal.git] / ecomp-portal-BE-common / src / test / java / org / onap / portalapp / portal / exceptions / InvalidRoleExceptionTest.java
index 4c8b1c1..07a93d9 100644 (file)
@@ -49,9 +49,9 @@ public class InvalidRoleExceptionTest {
                String s2 = "value2";
                try {
                    if (!s1.equalsIgnoreCase(s2)) {
-                       throw new ExternalAuthSystemException("Exception occured..");
+                       throw new InvalidRoleException("Exception occured..");
                    }
-               } catch (ExternalAuthSystemException mde) {
+               } catch (InvalidRoleException mde) {
                    assertEquals(mde.getMessage(),"Exception occured..");
                }