Add minor testing stuff

This commit is contained in:
Tobias Reisinger 2020-12-31 03:18:08 +01:00
parent b2b71d6742
commit 8c5ad5a374
2 changed files with 11 additions and 0 deletions

View file

@ -68,4 +68,6 @@ for backup_file in core.log controller.log valgrind.log emgauwa-core.sqlite; do
ln -sf $timestamp.$backup_file latest.$backup_file
done
cat latest.valgrind.log
exit $test_result

View file

@ -157,3 +157,12 @@ stages:
url: "http://localhost:5000/api/v1/tags/unused_tag_1"
response:
status_code: 404
- name: "[tags] get tags again"
request:
method: GET
url: "http://localhost:5000/api/v1/tags/"
response:
status_code: 200
verify_response_with:
function: validate_tag:multiple