File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 77use PHPUnit \Framework \ExpectationFailedException ;
88use PHPUnit \Framework \MockObject \MockObject ;
99use PHPUnit \Framework \TestCase ;
10- use ReflectionClass ;
11- use Spatie \Snapshots \MatchesSnapshots ;
1210
1311class MatchesSnapshotTest extends TestCase
1412{
@@ -466,10 +464,10 @@ private function expectFailedMatchesSnapshotTest()
466464 private function getMatchesSnapshotMock (bool $ mockGetSnapshotId = true ): MockObject
467465 {
468466 // Define a class name for our temporary trait user
469- $ className = 'TemporaryTraitClass ' . md5 (microtime ());
467+ $ className = 'TemporaryTraitClass ' . md5 (microtime ());
470468
471469 // Create the class definition with the methods we need to mock
472- $ classDefinition = 'class ' . $ className . ' {
470+ $ classDefinition = 'class ' . $ className. ' {
473471 use \\Spatie \\Snapshots \\MatchesSnapshots;
474472
475473 public function markTestIncomplete($message = "") {}
You can’t perform that action at this time.
0 commit comments