Skip to content

Commit 1bc3c66

Browse files
authored
Update ExtensionCustomActionTest.java
1 parent d1ab999 commit 1bc3c66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

api/src/test/java/org/apache/cloudstack/extension/ExtensionCustomActionTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ public void testValidatedValueBoolean() {
332332
assertEquals(true, result);
333333
}
334334

335-
@Test
335+
@Test(expected = InvalidParameterValueException.class)
336336
public void testValidatedValueInvalidBoolean() {
337337
ExtensionCustomAction.Parameter param = new ExtensionCustomAction.Parameter(
338338
"testParam",
@@ -343,7 +343,6 @@ public void testValidatedValueInvalidBoolean() {
343343
);
344344

345345
Object result = param.validatedValue("maybe");
346-
assertEquals(false, result);
347346
}
348347

349348
@Test

0 commit comments

Comments
 (0)