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.
1 parent 7957748 commit 38db120Copy full SHA for 38db120
src/MatchesSnapshots.php
@@ -31,7 +31,7 @@ protected function updateSnapshot($type, Snapshot $snapshot, $actual)
31
try {
32
$this->doSnapShotAssertion($type, $snapshot, $actual);
33
} catch (PHPUnit_Framework_ExpectationFailedException $exception) {
34
- $snapshot->update($actual);
+ $snapshot->create($actual);
35
36
$this->markTestIncomplete("Snapshot updated for {$snapshot->id()}");
37
}
0 commit comments