Skip to content

Commit 1a0f1ce

Browse files
authored
Support backward compatibility for runtime's return type (#5306)
1 parent 8fd2156 commit 1a0f1ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/src/test/scala/actionContainers/BasicActionRunnerTests.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ trait BasicActionRunnerTests extends ActionProxyContainerTestUtils {
173173
initCode should be(200)
174174
val (runCode, out) = c.run(JsObject.empty)
175175
runCode should not be (200)
176-
out should be(Some(JsObject("error" -> JsString("The action did not return a dictionary or array."))))
176+
177+
out should (be(Some(JsObject("error" -> JsString("The action did not return a dictionary or array.")))) or be(
178+
Some(JsObject("error" -> JsString("The action did not return a dictionary.")))))
177179
}
178180

179181
checkStreams(out, err, {

0 commit comments

Comments
 (0)