Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 26, 2023
1 parent 97585a5 commit 70e2ce8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/PdfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
it('can create a pdf using the function', function () {
pdf('test')->save($this->targetPath);

expect($this->targetPath)->toBeFile();

assertMatchesPdfSnapshot($this->targetPath);
});
})->only();

it('can accept margins', function () {
Pdf::view('test')->margins(200)->save($this->targetPath);
Expand Down

0 comments on commit 70e2ce8

Please sign in to comment.