@@ -53,6 +53,9 @@ discard block |
||
53 | 53 | $this->assertMatchesSnapshot($actual, new XmlDriver()); |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $actual |
|
58 | + */ |
|
56 | 59 | public function assertMatchesJsonSnapshot($actual) |
57 | 60 | { |
58 | 61 | $this->assertMatchesSnapshot($actual, new JsonDriver()); |
@@ -240,6 +243,9 @@ discard block |
||
240 | 243 | $this->registerSnapshotChange("Snapshot updated for {$snapshot->id()}"); |
241 | 244 | } |
242 | 245 | |
246 | + /** |
|
247 | + * @param ExpectationFailedException $exception |
|
248 | + */ |
|
243 | 249 | protected function rethrowExpectationFailedExceptionWithUpdateSnapshotsPrompt($exception) |
244 | 250 | { |
245 | 251 | $newMessage = $exception->getMessage()."\n\n". |