@@ -30,6 +30,9 @@ |
||
| 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()); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Spatie\Snapshots; |
| 4 | 4 | |
| 5 | -use Exception; |
|
| 6 | 5 | use PHPUnit\Framework\ExpectationFailedException; |
| 7 | 6 | use PHPUnit_Framework_ExpectationFailedException; |
| 8 | 7 | use ReflectionClass; |