We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72d7c8d commit 656dfe5Copy full SHA for 656dfe5
tests/e2e/ResultCacheEndToEndTest.php
@@ -98,8 +98,8 @@ public function testResultCacheDeleteFile(): void
98
unlink($serializerPath);
99
100
$result = $this->runPhpstan(1);
101
- $this->assertSame(1, $result['totals']['file_errors']);
102
- $this->assertSame(0, $result['totals']['errors']);
+ $this->assertSame(1, $result['totals']['file_errors'], Json::encode($result));
+ $this->assertSame(0, $result['totals']['errors'], Json::encode($result));
103
$this->assertSame('Reflection error: PhpParser\Serializer not found.', $result['files'][__DIR__ . '/PHP-Parser/lib/PhpParser/Serializer/XML.php']['messages'][0]['message']);
104
105
file_put_contents($serializerPath, $originalSerializerCode);
0 commit comments