Property | Type | Description | |
---|---|---|---|
$command | |||
$container | Symfony\Component\DependencyInjection\ContainerInterface |
Method | Description | |
---|---|---|
setUp ( ) | ||
testConfiguration ( ) | Tests the command configuration. | |
testCustomPasswordLength ( ) | Tests a custom minimum password length. | |
testDatabaseUpdate ( string $username, string $password ) | Tests the database update. | |
testDatabaseUserNotFound ( ) | Tests an invalid username. | |
testExceptionWhenMissingUsername ( ) | Tests the command without a username. | |
testExitCodeWithoutPassword ( ) | Tests the command without a password. | |
testInstantiation ( ) | Tests the object instantiation. | |
testMinimumPasswordLength ( ) | Tests the minimum password length. | |
usernamePasswordProvider ( ) : array | Provides username and password data. |
Method | Description | |
---|---|---|
mockEncryptionAdapter ( ) : |
Mocks an encryption adapter. |
protected mockEncryptionAdapter ( ) : |
||
return |
public testCustomPasswordLength ( ) |
public testDatabaseUpdate ( string $username, string $password ) | ||
$username | string | |
$password | string |
public testDatabaseUserNotFound ( ) |
public testExceptionWhenMissingUsername ( ) |
public testExitCodeWithoutPassword ( ) |
public testMinimumPasswordLength ( ) |
public usernamePasswordProvider ( ) : array | ||
return | array |
protected UserPasswordCommand,Contao\CoreBundle\Command $command | ||
return |