You are here

public function UserAuthTest::providerTestAuthenticateWithMissingCredentials in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/tests/src/Unit/UserAuthTest.php \Drupal\Tests\user\Unit\UserAuthTest::providerTestAuthenticateWithMissingCredentials()

Data provider for testAuthenticateWithMissingCredentials().

Return value

array

File

core/modules/user/tests/src/Unit/UserAuthTest.php, line 102
Contains \Drupal\Tests\user\Unit\UserAuthTest.

Class

UserAuthTest
@coversDefaultClass \Drupal\user\UserAuth @group user

Namespace

Drupal\Tests\user\Unit

Code

public function providerTestAuthenticateWithMissingCredentials() {
  return array(
    array(
      NULL,
      NULL,
    ),
    array(
      NULL,
      '',
    ),
    array(
      '',
      NULL,
    ),
    array(
      '',
      '',
    ),
  );
}