Skip to content

Commit

Permalink
add logging for test
Browse files Browse the repository at this point in the history
  • Loading branch information
querdenker2k committed Feb 21, 2023
1 parent 71fefc6 commit 4e31dd9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.openhab.automation.jrule.internal.compiler.JRuleCompiler;
import org.openhab.automation.jrule.internal.handler.JRuleEventHandler;
import org.openhab.automation.jrule.items.JRuleItemClassGenerator;
import org.openhab.automation.jrule.items.JRuleItemRegistry;
import org.openhab.automation.jrule.test_utils.JRuleItemTestUtils;
import org.openhab.core.items.GenericItem;
import org.openhab.core.items.GroupItem;
Expand Down Expand Up @@ -84,6 +85,8 @@ public void setup() {
JRuleConfig config = new JRuleConfig(map);
sourceFileGenerator = new JRuleItemClassGenerator(config);
compiler = new JRuleCompiler(config);

JRuleItemRegistry.clear();
}

@BeforeEach
Expand Down

0 comments on commit 4e31dd9

Please sign in to comment.