You are here

public function CasUserManagerTest::automaticRegistrationDataProvider in CAS 2.x

Same name and namespace in other branches
  1. 8 tests/src/Unit/Service/CasUserManagerTest.php \Drupal\Tests\cas\Unit\Service\CasUserManagerTest::automaticRegistrationDataProvider()

A data provider for testing automatic user registration.

Return value

array The two different email assignment strategies.

File

tests/src/Unit/Service/CasUserManagerTest.php, line 407

Class

CasUserManagerTest
CasUserManager unit tests.

Namespace

Drupal\Tests\cas\Unit\Service

Code

public function automaticRegistrationDataProvider() {
  return [
    [
      CasUserManager::EMAIL_ASSIGNMENT_STANDARD,
    ],
    [
      CasUserManager::EMAIL_ASSIGNMENT_ATTRIBUTE,
    ],
  ];
}