Skip to content

Commit

Permalink
Fix typos in test names
Browse files Browse the repository at this point in the history
  • Loading branch information
georgetarazevich committed Dec 19, 2023
1 parent 6971c74 commit f4c44a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ teardown() {
echo -e "\nDone ..." >&3
}

@test "--maxNumberOfDisplayedFailedChecks, Outputs all processed file names, maxNumberOfDisplayedFailedChecks=0" {
@test "--maxNumberOfDisplayedFailedChecks, Sets maximum amount of failed checks displayed for each rule, maxNumberOfDisplayedFailedChecks=0" {

run curl -F "file=@$PROJECT_ROOT/Resources/a.pdf" localhost:8080/api/validate/1b -H "Accept:text/html"
refute_output --partial '<b>Failed</b>'
Expand Down
2 changes: 1 addition & 1 deletion tests/Options/config/validator/recordPasses.bats
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ teardown() {
echo -e "\nDone ..." >&3
}

@test "--recordPasses, Sets maximum amount of failed checks, recordPasses=true" {
@test "--recordPasses, Logs successful validation checks, recordPasses=true" {

run curl -F "file=@$PROJECT_ROOT/Resources/veraPDFPDFAConformanceCheckerGUI.pdf" localhost:8080/api/validate/1b -H "Accept:text/html"
assert_output --partial '<b>Passed</b>'
Expand Down
2 changes: 2 additions & 0 deletions tests/tools/test_helper/common-setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ _common_setup() {
echo -e "\nDOCKER_CONTAINER_ID: $DOCKER_CONTAINER \n" >&3

echo "Checking docker container logs...at:" >&3
sleep 1 # sleep sec

export test_logs_starting_time=$(date +%s)
echo $(date -d @"$test_logs_starting_time") >&3
}
Expand Down

0 comments on commit f4c44a4

Please sign in to comment.