Skip to content

Commit

Permalink
Updated the fixtures.
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
  • Loading branch information
Jack12816 committed Mar 11, 2024
1 parent ea51e94 commit 26813e7
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pdf-headers:
--header 'Authorization: Granted!' \
-a 'X-Test:true' \
--header 'custom: header' \
http://localhost:3000 \
http://localhost:3823 \
$(abspath test/fixtures/headers.pdf); \
$(KILL) %-;

Expand Down
2 changes: 1 addition & 1 deletion exe/test-server
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ http.createServer(function (req, res) {
}

res.end();
}).listen(3000);
}).listen(3823);
2 changes: 1 addition & 1 deletion test/bin/pdfgen.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ describe('pdfgen Binary', function() {
});

describe('file generation (headers)', () => {
let url = 'http://localhost:3000';
let url = 'http://localhost:3823';
let pdf = outputDest('headers');
let png = Suite.fixture('headers.png');

Expand Down
2 changes: 1 addition & 1 deletion test/exe/test-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
set -eo pipefail

# Config
URL='http://localhost:3000'
URL='http://localhost:3823'

# Error handler
function on_error()
Expand Down
Binary file modified test/fixtures/broken.pdf
Binary file not shown.
Binary file modified test/fixtures/broken.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/complex.pdf
Binary file not shown.
Binary file modified test/fixtures/complex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/headers.pdf
Binary file not shown.
Binary file modified test/fixtures/headers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/multipage.pdf
Binary file not shown.
Binary file modified test/fixtures/multipage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/simple.pdf
Binary file not shown.
Binary file modified test/fixtures/simple.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/templates/circles.pdf
Binary file not shown.
Binary file modified test/fixtures/templates/circles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/fixtures/websockets.pdf
Binary file not shown.
Binary file modified test/fixtures/websockets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 26813e7

Please sign in to comment.