@@ -30,6 +30,9 @@ discard block |
||
30 | 30 | $this->assertMatchesSnapshot($actual, new XmlDriver()); |
31 | 31 | } |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $actual |
|
35 | + */ |
|
33 | 36 | public function assertMatchesJsonSnapshot($actual) |
34 | 37 | { |
35 | 38 | $this->assertMatchesSnapshot($actual, new JsonDriver()); |
@@ -215,6 +218,9 @@ discard block |
||
215 | 218 | $this->markTestIncomplete("Snapshot updated for {$snapshot->id()}"); |
216 | 219 | } |
217 | 220 | |
221 | + /** |
|
222 | + * @param ExpectationFailedException $exception |
|
223 | + */ |
|
218 | 224 | protected function rethrowExpectationFailedExceptionWithUpdateSnapshotsPrompt($exception) |
219 | 225 | { |
220 | 226 | $newMessage = $exception->getMessage()."\n\n". |