Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-sciabarra committed Oct 15, 2020
1 parent 6d1b5d2 commit 1835145
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions admin/test/import.bats
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@ load util
}

@test "util/import sample post with args" {
#curl -X POST -F url=http://localhost:3280/api/v1/web/guest/util/sample $URL/util/import
#run http --timeout 300 --json POST $URL/util/import url=http://localhost:3280/api/v1/web/guest/util/sample jsonargs='{"count":2,"fiscal_code":"BBBBB00B00B000B","amount":1,"due_date":"2021-01-01"}'
ijpost $URL/util/import url=http://localhost:3280/api/v1/web/guest/util/sample jsonargs='{"count":2,"fiscal_code":"BBBBB00B00B000B","amount":1,"due_date":"2021-01-01"}'
ijpost $URL/util/import url="$SAMPLE/util/sample" jsonargs='{"count":2,"fiscal_code":"BBBBB00B00B000B","amount":1,"due_date":"2021-01-01"}'
ckline '"BBBBB00B00B000B:1"'
ckline '"amount": 1'
ckline '"due_date": "2021-01-01T00:00:00"'
Expand Down

0 comments on commit 1835145

Please sign in to comment.