You are here

public function UserRegistrationPasswordUserRegisterFormTestCase::testUserRegisterFormDefaultValues in User registration password 7

Implements testUserRegisterFormDefaultValues().

File

tests/user_registrationpassword_user_register_form.test, line 43
Functionality tests for user_registrationpassword.module: pass reset form.

Class

UserRegistrationPasswordUserRegisterFormTestCase
Class UserRegistrationPasswordUserRegisterFormTestCase.

Code

public function testUserRegisterFormDefaultValues() {

  // Test values.
  $this
    ->assertTrue(is_int($this->register_form['account']['status']['#default_value']), 'The default value for status is an integer.');
  $this
    ->assertTrue(is_bool($this->register_form['account']['notify']['#default_value']), 'The default value for notify is a boolean.');
}