Skip to content

Commit

Permalink
Merge pull request #36 from conjoon/dev
Browse files Browse the repository at this point in the history
dev
  • Loading branch information
ThorstenSuckow authored Oct 29, 2021
2 parents 464be2b + 0a785e1 commit 1855847
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [[
Expand All @@ -964,6 +969,10 @@ public function testProcessTextForPreview()
$htmlMessagePart,
"UTF-8",
[]
], [
$plainMessagePart,
"UTF-8",
[]
]];

$pP->expects($this->exactly(count($input)))
Expand Down
2 changes: 0 additions & 2 deletions lib/tests/Exceptions/HandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1855847

Please sign in to comment.