function UUIDFunctionalityTestCase::testDisabledUserUUID in Universally Unique IDentifier 6
Verify uuid behavior for users.
File
- ./
uuid.test, line 310 - Functionality tests for UUID module.
Class
- UUIDFunctionalityTestCase
- Test basic uuid resolver functionality.
Code
function testDisabledUserUUID() {
// Set module settings.
$settings = array(
'uuid_automatic_for_users' => FALSE,
);
$this
->uuidSettingsSet($settings);
// Create a user.
$object = $this
->drupalCreateUser();
// Verify fields are not attached to the node.
$this
->assertTrue(empty($object->uuid), t("User has no uuid field attached with disabled settings."), t("User UUID"));
}