Project:SimpleTest
Component:Code
Category:task
Priority:normal
Assigned:boombatower
Status:closed (fixed)

Issue Summary

The user module tests didn't pass before this review for several reasons. After review the tests now passes all except for default timezone check.

<?php
$this
->assertEqual($user->timezone, variable_get('date_default_timezone', NULL), t('Correct timezone field.'));
?>

After a look at the code this appears to be a bug.

Other than that this test has been cleaned up quiet a bit. I removed the access rules test since that is no longer in core.

As a note UserValidationTestCase is full of unit tests. Once unit testing is implemented they should be moved.

AttachmentSizeStatusTest resultOperations
simpletest_review_user.patch17.76 KBIgnored: Check issue status.NoneNone

Comments

#1

Was going to open an issue for access rules and you've beaten me to it!

#2

Status:needs review» fixed

Committed.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.