Skip to content

Commit

Permalink
TASK: Replace deprecated guzzle functions with static methods
Browse files Browse the repository at this point in the history
  • Loading branch information
albe authored and daniellienert committed Jul 15, 2021
1 parent 136a1c6 commit d14ab4b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
use Neos\Fusion\Core\Runtime;
use Neos\Fusion\FusionObjects\Http\ResponseHeadImplementation;
use Psr\Http\Message\ResponseFactoryInterface;
use function GuzzleHttp\Psr7\str;
use GuzzleHttp\Psr7\Message;

/**
* Testcase for the Fusion ResponseHead object
Expand Down Expand Up @@ -74,6 +74,6 @@ public function evaluateTests($httpVersion, $statusCode, $headers, $expectedOutp

$result = $renderer->evaluate();

self::assertEquals($expectedOutput, str($result));
self::assertEquals($expectedOutput, Message::toString($result));
}
}

0 comments on commit d14ab4b

Please sign in to comment.