Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit dfd4c8d

Browse files
committed
fix the test too
1 parent 02d2ecd commit dfd4c8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grails3/plugin/src/test/groovy/unit/org/grails/plugins/console/ConsoleControllerSpec.groovy

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ConsoleControllerSpec extends Specification {
5757
String code = '"s"'
5858

5959
when:
60-
controller.execute code, false
60+
controller.execute(new ExecuteCommand(code, false))
6161

6262
then:
6363
1 * consoleService.eval(code, false, request) >> new Evaluation(
@@ -77,7 +77,7 @@ class ConsoleControllerSpec extends Specification {
7777
String code = ''
7878

7979
when:
80-
controller.execute code, false
80+
controller.execute(new ExecuteCommand(code, false))
8181

8282
then:
8383
1 * consoleService.eval(code, false, request) >> new Evaluation(

0 commit comments

Comments
 (0)