Skip to content

Commit

Permalink
fix action generator
Browse files Browse the repository at this point in the history
  • Loading branch information
querdenker2k committed Dec 20, 2023
1 parent cba9890 commit 5809edb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public Collection<Class<? extends ThingHandlerService>> getServices() {
assertEquals(10, res);

Method doSomething = action.getClass().getDeclaredMethod("doSomething", String.class, int.class, Float.class);
doSomething.invoke(action, "hi", (int) 5, 3.7f);
doSomething.invoke(action, "hi", 5, 3.7f);
assertEquals(10, res);

// Verify method with unsupported types are mapped to Object
Expand Down

0 comments on commit 5809edb

Please sign in to comment.