public function OpenIDConnectAuthmapTest::getConnectedAccountsParameters in OpenID Connect / OAuth client 8
Data provider for the getConnectedAccounts method.
Return value
array Data to test the getConnectedAccounts method.
File
- tests/
src/ Unit/ OpenIDConnectAuthmapTest.php, line 354
Class
- OpenIDConnectAuthmapTest
- Test the OpenIdConnectAuthmap class.
Namespace
Drupal\Tests\openid_connect\UnitCode
public function getConnectedAccountsParameters() : array {
$record = (object) [
'client_name' => $this
->randomMachineName(),
'sub' => $this
->randomMachineName(),
];
return [
[
[],
],
[
[
$record,
],
],
];
}