user/register Register a new user.
user/login Login.
user/password Reset password.
user/#/edit Save user profile.
user/#/edit Delete user.
user As logged-in user, confirm you are taken to your user profile.
user As anonymous user, confirm you are taken to the login form.
Some tests are already in user_access.test user_registration_test.test user_validation.test
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | user_module.test | 11.14 KB | chx |
| #1 | user_tests.patch | 21.62 KB | chx |
Comments
Comment #1
chx commentedThe UserRegistrationTest does most of this now, it existed before but I fixed it a bit, it had stuff like 'profiles' module instead of 'profile' assertNoText instead of assertNoUnwantedRaw someplace -- there was even a message that theme placeholder causes problems. I moved all tests into a user_module.test .
Comment #2
Rok Žlender commentedOne small problem with this test. In line 51 $this->assertEqual($user->edit-timezone, NULL, 'Checking timezone field'); that edit is wrong. After I fixed it this line produces a fail on my computer $user->timezone = 3600 I don't know exactly how this field is populated when new user is created but I guess this is not hard coded.
Comment #3
chx commentedhave no bothered with negative patch, just rm the old files.
Comment #4
Rok Žlender commentedCommitted thanks chx
Comment #5
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.