public function UserRegistrationPasswordUserRegisterForm::testUserRegisterFormDefaultValues in User registration password 8
Implements testUserRegisterFormDefaultValues().
File
- ./
UserRegistrationPasswordUserRegisterForm.php, line 52
Class
- UserRegistrationPasswordUserRegisterForm
- Functionality tests for User registration password module.
Namespace
Drupal\Tests\user_registrationpassword\FunctionalCode
public function testUserRegisterFormDefaultValues() {
// Test values.
$this
->assertTrue(is_int($this->registerForm['account']['status']['#default_value']), 'The default value for status is an integer.');
$this
->assertTrue(is_bool($this->registerForm['account']['notify']['#default_value']), 'The default value for notify is a boolean.');
}