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.
2 parents 2ae68a0 + 4d37e7b commit a688778Copy full SHA for a688778
tests/Unit/Drivers/JsonDriverTest.php
@@ -4,8 +4,6 @@
4
5
use PHPUnit\Framework\TestCase;
6
use Spatie\Snapshots\Drivers\JsonDriver;
7
-use Spatie\Snapshots\Exceptions\CantBeSerialized;
8
-use stdClass;
9
10
class JsonDriverTest extends TestCase
11
{
tests/Unit/Drivers/YamlDriverTest.php
use Spatie\Snapshots\Drivers\YamlDriver;
class YamlDriverTest extends TestCase
@@ -34,7 +32,7 @@ public function it_can_serialize_a_yaml_array()
34
32
'',
35
33
]);
36
37
- $this->assertEquals($expected, $driver->serialize([
+ $this->assertEquals($expected, $driver->serialize([
38
'foo' => 'bar',
39
'baz' => 'qux',
40
]));
0 commit comments