mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #10234 from GuySartorelli/patch-2
DOCS Fix link to PHPunit docs
This commit is contained in:
commit
69225497b8
@ -32,7 +32,7 @@ These are some common adjustments that need to be made to unit tests so they're
|
||||
- `setUp()` and `tearDown()` now require the `:void` return type e.g. `setUp(): void`
|
||||
- `assertContains()` and `assertNotContains()` no longer accept strings so update to `assertStringContainsString()` and `assertStringNotContainsString()`
|
||||
- `assertInternalType('%Type%')` needs to be changed to `assertIs%Type%()` e.g. `assertIsInt()` - [full list](https://github.com/sebastianbergmann/PHPUnit/issues/3368)
|
||||
- `@expectedException` style annotations are changed to [php functions](https://phpunit.readthedocs.io/en/latest/writing-tests-for-PHPUnit.html#testing-exceptions)
|
||||
- `@expectedException` style annotations are changed to [php functions](https://phpunit.readthedocs.io/en/latest/writing-tests-for-phpunit.html#testing-exceptions)
|
||||
- Wrapping <testsuite> elements with a <testsuites> element in phpunit.xml / phpunit.xml.dist
|
||||
|
||||
You see the full list of PHPUnit changes in the [announcements](https://PHPUnit.de/announcements/) section of the PHPUnit.de website.
|
||||
|
Loading…
Reference in New Issue
Block a user