Skip to content

Commit 9e44f66

Browse files
committed
Update tests
1 parent 6afb28e commit 9e44f66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if [ "$test_3_actual" != "$test_3_expected" ]; then
3434
fi
3535

3636
test_4_actual=$(curl --silent --request POST --header "X-XlsForm-FormId-Fallback: validate-error" --data-binary @test/validate-error.xlsx http://127.0.0.1:5001/api/v1/convert)
37-
test_4_expected='{"error":"ODK Validate Errors:\n>> Something broke the parser.\nError evaluating field 'concat' (${concat}[1]): The problem was located in Calculate expression for ${concat}\nXPath evaluation: cannot handle function 'concatx'\nCaused by: org.javarosa.xpath.XPathUnhandledException: The problem was located in Calculate expression for ${concat}\nXPath evaluation: cannot handle function 'concatx'\n\t... 10 more\n\nThe following files failed validation:\n${tmpt56os9nz}\n\nResult: Invalid","itemsets":null,"result":null,"status":400,"warnings":null}'
37+
test_4_expected='{"error":"ODK Validate Errors:\n>> Something broke the parser.\nError evaluating field 'concat' (${concat}[1]): The problem was located in Calculate expression for ${concat}\nXPath evaluation: cannot handle function 'concatx'\nCaused by: org.javarosa.xpath.XPathUnhandledException: The problem was located in Calculate expression for ${concat}\nXPath evaluation: cannot handle function 'concatx'\n\t... 10 more\n\nThe following files failed validation:\n${validate-error}\n\nResult: Invalid","itemsets":null,"result":null,"status":400,"warnings":null}'
3838
if [ "$test_4_actual" != "$test_4_expected" ]; then
3939
echo "test 4 failed: form that passes pyxform's internal checks, but fails ODK Validate's checks"
4040
echo "$test_4_actual"

0 commit comments

Comments
 (0)