function TestBaseTest::providerError
Data provider for testError().
Return value
array
- Expected status for assertion.
- Group for use in assert().
File
-
core/
modules/ simpletest/ tests/ src/ Unit/ TestBaseTest.php, line 426
Class
- TestBaseTest
- @requires extension curl @coversDefaultClass \Drupal\simpletest\TestBase @group simpletest @group TestBase
Namespace
Drupal\Tests\simpletest\UnitCode
public function providerError() {
return [
[
'debug',
'User notice',
],
[
'exception',
'Not User notice',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.