Skip to content

Commit 6d35e80

Browse files
committed
tests(integration_test): More assertions
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 7559cb1 commit 6d35e80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/integration_test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,11 @@ jobs:
207207
done
208208
curl -u "$CREDS" -H "oCS-APIRequest: true" http://localhost:8080/ocs/v2.php/taskprocessing/task/$TASK_ID?format=json
209209
[ "$TASK_STATUS" == '"STATUS_SUCCESSFUL"' ]
210+
echo $TASK | jq '.ocs.data.task.output.output'
211+
echo $TASK | jq '.ocs.data.task.output.sources'
212+
echo $TASK | jq '.ocs.data.task.output.sources' | grep -q get_coordinates_for_address
213+
echo $TASK | jq '.ocs.data.task.output.output' | grep -q '52.'
214+
echo $TASK | jq '.ocs.data.task.output.output' | grep -q '13.'
210215
211216
- name: Show nextcloud logs
212217
if: always()

0 commit comments

Comments
 (0)