public function SimpletestDeprecationTest::testProcessPhpUnitResults in SimpleTest 8.3
@expectedDeprecation simpletest_process_phpunit_results() is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\TestDatabase::processPhpUnitResults() instead. See https://www.drupal.org/node/3075252
File
- tests/
src/ Kernel/ SimpletestDeprecationTest.php, line 98
Class
- SimpletestDeprecationTest
- Verify deprecations within the simpletest module.
Namespace
Drupal\Tests\simpletest\KernelCode
public function testProcessPhpUnitResults() {
// The only safe way to test this deprecation is to call it with an empty
// result set. This should not touch the results database.
$this
->assertNull(simpletest_process_phpunit_results([]));
}