We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56b4221 commit bb758ccCopy full SHA for bb758cc
src/Symfony/Component/HttpClient/Tests/Test/HarFileResponseFactoryTest.php
@@ -81,7 +81,7 @@ public function testFactoryThrowsWhenUnableToMatchResponse()
81
82
public function testFactoryThrowsWhenJsonIsInvalid()
83
{
84
- $this->expectException('JsonException');
+ $this->expectException(\JsonException::class);
85
$factory = new HarFileResponseFactory("{$this->fixtureDir}/invalid_archive.har");
86
$client = new MockHttpClient($factory, 'https://symfony.com');
87
0 commit comments