Skip to content

Commit

Permalink
Update debug.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed Dec 14, 2023
1 parent 4c7d22e commit ffc6f8f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Options/config/validator/debug.bats
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ teardown() {

@test "--debug, Outputs all processed file names, debug=true" {

run curl -F "file=@$PROJECT_ROOT/Resources/a.pdf" localhost:8080/api/validate/1b -H "Accept:text/html"
run curl -F "file=@$PROJECT_ROOT/Resources/a.pdf" localhost:8080/api/validate/3a -H "Accept:text/html"
[ "$status" -eq 0 ]

sleep 10 # sleep 10 sec

run docker logs $DOCKER_CONTAINER -t --since=$test_logs_starting_time

sleep 10 # sleep 10 sec
assert_output --partial "INFO: a.pdf"
}

0 comments on commit ffc6f8f

Please sign in to comment.