Skip to content

Commit 95ce36c

Browse files
committed
Fix PHPUnit deprecations
1 parent 006e18b commit 95ce36c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Integration/MatchesSnapshotTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ public function it_deletes_the_persisted_failed_file_before_a_file_snapshot_asse
270270

271271
$mockTrait->assertMatchesFileSnapshot(__DIR__.'/stubs/test_files/friendly_man.jpg');
272272

273-
$this->assertFileNotExists($persistedFailedFile);
273+
$this->assertFileDoesNotExist($persistedFailedFile);
274274
}
275275

276276
/** @test */
@@ -378,7 +378,7 @@ public function it_can_update_a_file_snapshot_with_a_different_extension()
378378
'file.png'
379379
);
380380

381-
$this->assertFileNotExists($oldSnapshot);
381+
$this->assertFileDoesNotExist($oldSnapshot);
382382
}
383383

384384
private function expectIncompleteMatchesSnapshotTest(MockObject $matchesSnapshotMock, callable $assertions)

0 commit comments

Comments
 (0)