File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -278,14 +278,14 @@ $this->assertMatchesSnapshot($something->toYaml(), new MyYamlDriver());
278278
279279When running your tests in Continuous Integration you would possibly want to disable the creation of snapshots.
280280
281- By using the ` --no-create -snapshots ` parameter, PHPUnit will fail if the snapshots don't exist.
281+ By using the ` --without-creating -snapshots ` parameter, PHPUnit will fail if the snapshots don't exist.
282282
283283``` bash
284- > ./vendor/bin/phpunit -d --no-create -snapshots
284+ > ./vendor/bin/phpunit -d --without-creating -snapshots
285285
2862861) ExampleTest::test_it_matches_a_string
287287Snapshot " ExampleTest__test_it_matches_a_string__1.txt" does not exist.
288- You can automatically create it by removing ` -d --no-create -snapshots` of PHPUnit' s CLI arguments.
288+ You can automatically create it by removing ` -d --without-creating -snapshots` of PHPUnit' s CLI arguments.
289289
290290```
291291
You can’t perform that action at this time.
0 commit comments