Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 1c6f67b

Browse files
committed
Fix small error
1 parent 491fbb9 commit 1c6f67b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/cases/ReceiptTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Tests\Cases;
44

5+
use Exception;
56
use FilipSedivy\EET;
67
use Symfony\Component\Validator;
78
use Tester\Assert;
@@ -38,7 +39,7 @@ public function testSendEmptyReceipt(): void
3839
public function testEmptyCodes(): void
3940
{
4041
$receipt = new EET\Receipt;
41-
$exception = new EET\Exceptions\EET\ClientException($receipt, null, null, null);
42+
$exception = new EET\Exceptions\EET\ClientException($receipt, null, null, new Exception);
4243

4344
Assert::null($exception->getPkp());
4445
Assert::null($exception->getBkp());

0 commit comments

Comments
 (0)