Skip to content

Commit 7becb32

Browse files
committed
We need the JavaService to pass the unit tests now
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
1 parent 366e000 commit 7becb32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/scijava/plugins/scripting/java/JavaEngineTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private void writeFiles(final File dir, final String... args)
243243

244244
private ScriptEngine miniMaven() {
245245
final Context context =
246-
new Context(ScriptService.class, ObjectService.class);
246+
new Context(ScriptService.class, ObjectService.class, JavaService.class);
247247
final ObjectService objectService = context.getService(ObjectService.class);
248248
final ScriptLanguage java =
249249
objectService.getObjects(JavaScriptLanguage.class).get(0);

0 commit comments

Comments
 (0)