You are here

public function WorkflowStateTransitionOperationsAccessCheckTest::invalidOperationNameTestCases in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php \Drupal\Tests\workflows\Unit\WorkflowStateTransitionOperationsAccessCheckTest::invalidOperationNameTestCases()
  2. 10 core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php \Drupal\Tests\workflows\Unit\WorkflowStateTransitionOperationsAccessCheckTest::invalidOperationNameTestCases()

Test cases for ::testInvalidOperationName.

File

core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php, line 142

Class

WorkflowStateTransitionOperationsAccessCheckTest
@coversDefaultClass \Drupal\workflows\WorkflowStateTransitionOperationsAccessCheck @group workflows

Namespace

Drupal\Tests\workflows\Unit

Code

public function invalidOperationNameTestCases() {
  return [
    [
      'invalid-op',
    ],
    [
      'foo-add-transition',
    ],
    [
      'add-transition-bar',
    ],
  ];
}