public function WorkflowStateTransitionOperationsAccessCheckTest::invalidOperationNameTestCases in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php \Drupal\Tests\workflows\Unit\WorkflowStateTransitionOperationsAccessCheckTest::invalidOperationNameTestCases()
- 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\UnitCode
public function invalidOperationNameTestCases() {
return [
[
'invalid-op',
],
[
'foo-add-transition',
],
[
'add-transition-bar',
],
];
}