You are here

public function TestBaseTest::providerError in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/simpletest/tests/src/Unit/TestBaseTest.php \Drupal\Tests\simpletest\Unit\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 429
Contains \Drupal\Tests\simpletest\Unit\TestBaseTest.

Class

TestBaseTest
@coversDefaultClass \Drupal\simpletest\TestBase @group simpletest

Namespace

Drupal\Tests\simpletest\Unit

Code

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