diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index dcb4ae4..924f539 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -9,7 +9,7 @@ TNG Technology Consulting GmbH - + com.intellij.modules.java diff --git a/src/test/java/com/tngtech/jgiven/BaseTestCase.kt b/src/test/java/com/tngtech/jgiven/BaseTestCase.kt index 3d36370..3991e14 100644 --- a/src/test/java/com/tngtech/jgiven/BaseTestCase.kt +++ b/src/test/java/com/tngtech/jgiven/BaseTestCase.kt @@ -12,7 +12,9 @@ abstract class BaseTestCase : LightJavaCodeInsightFixtureTestCase() { @Throws(Exception::class) public override fun setUp() { super.setUp() - libraryTestUtil = LibraryTestUtil(module).addJGiven() + libraryTestUtil = LibraryTestUtil() + libraryTestUtil.setModule(module) + libraryTestUtil = libraryTestUtil.addJGiven() } @Throws(Exception::class)