You are here

public function TestBaseTest::providerError in Drupal 8

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\Unit

Code

public function providerError() {
  return [
    [
      'debug',
      'User notice',
    ],
    [
      'exception',
      'Not User notice',
    ],
  ];
}