diff --git a/lib/tests/Conjoon/Mail/Client/Service/DefaultMessageItemServiceTest.php b/lib/tests/Conjoon/Mail/Client/Service/DefaultMessageItemServiceTest.php index 1a38804b..4b4136a3 100644 --- a/lib/tests/Conjoon/Mail/Client/Service/DefaultMessageItemServiceTest.php +++ b/lib/tests/Conjoon/Mail/Client/Service/DefaultMessageItemServiceTest.php @@ -950,6 +950,11 @@ public function testProcessTextForPreview() new MessageItemListResourceQuery( new ParameterBag(["attributes" => ["plain" => ["trimApi" => true, "length" => 1]]]) ) + ], [ + $plainMessagePart, + new MessageItemListResourceQuery( + new ParameterBag(["attributes" => ["plain" => ["length" => 100]]]) + ) ]]; $expectedArgs = [[ @@ -964,6 +969,10 @@ public function testProcessTextForPreview() $htmlMessagePart, "UTF-8", [] + ], [ + $plainMessagePart, + "UTF-8", + [] ]]; $pP->expects($this->exactly(count($input))) diff --git a/lib/tests/Exceptions/HandlerTest.php b/lib/tests/Exceptions/HandlerTest.php index 986dfd65..3a127296 100644 --- a/lib/tests/Exceptions/HandlerTest.php +++ b/lib/tests/Exceptions/HandlerTest.php @@ -31,8 +31,6 @@ use App\Exceptions\Handler; use Conjoon\Http\Exception\BadRequestException; -use Conjoon\Http\Exception\InternalServerErrorException; -use Conjoon\Http\Exception\HttpException; use Conjoon\Http\Json\Problem\ProblemFactory; use Illuminate\Http\Request; use Tests\TestCase;