Skip to content

Commit 9405b5f

Browse files
authored
Fix forgotten update in readme
1 parent 31d94d6 commit 9405b5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,14 +278,14 @@ $this->assertMatchesSnapshot($something->toYaml(), new MyYamlDriver());
278278

279279
When 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

286286
1) ExampleTest::test_it_matches_a_string
287287
Snapshot "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

0 commit comments

Comments
 (0)