Commit Graph
2162 Commits
Author SHA1 Message Date
liugang 1d33132214 + userTest: add script to test the identifyUser method. 2023-12-21 19:46:49 +08:00
wangyuting 7f77b41ae5 * Adjust to ``. 2023-12-21 19:12:10 +08:00
liugang f43ef310d8 * userTest: refactor script to test the identify method. 2023-12-21 19:05:54 +08:00
wangyuting 0dcb9703aa * Fix module user unit test script. 2023-12-21 18:57:15 +08:00
wangyuting fdbc343b2a * Fix user module unit test scirpt bug. 2023-12-21 18:37:55 +08:00
wangyuting 1857c51870 * Refactor userModel::getTeamMemberPairs. 2023-12-21 18:20:00 +08:00
wangyuting 3f8688450c * Refactor userModel::getProductViewListUsers. 2023-12-21 17:24:38 +08:00
wangyuting 5b2528b953 * Refactor userModel::checkSprintAuthed. 2023-12-21 17:04:17 +08:00
wangyuting 72ea5237cc * Refactor userModel::checkProgramPriv. 2023-12-21 17:01:05 +08:00
wangyuting 2fdf2cd18b * Refactor userModel::checkproductpriv. 2023-12-21 16:55:08 +08:00
liugang 56bf856e13 * userTest: refactor script to test the updateContactList method. 2023-12-21 16:49:55 +08:00
liugang b779a59a4e - userTest: remove unused script to test the getPersonalData method. 2023-12-21 16:33:25 +08:00
liugang a4f8a8fab3 - userTest: remove unused script to test the getUserDisplayInfos method. 2023-12-21 16:31:26 +08:00
wangyuting bc16df6cb2 * Refactor checkproductpriv and checkprogrampriv and checkprojectpriv and checksprintpriv. 2023-12-21 16:20:31 +08:00
liugang 19bd7e5023 * userTest: refactor script to test the identifyByCookie method. 2023-12-21 16:07:53 +08:00
liugang 6e2a79c851 * userTest: fix spell error in script to test the keepLogin method. 2023-12-21 15:13:52 +08:00
wangyuting cf39d5b216 * Refactor userModel::updateUserView and finish unit test script. 2023-12-21 15:06:25 +08:00
liugang 424825b8f0 * userTest: refactor script to test the identifyByPhpAuth method. 2023-12-21 14:54:12 +08:00
liugang 87cfc52c89 * userTest: refactor script to test the identifyByPhpAuth method. 2023-12-21 14:48:05 +08:00
liugang 60ea1746be * userModel: modify the $passwordStrength parameter's type to integer. 2023-12-21 14:24:14 +08:00
liugang c8d7c3a377 * userTest: use property of tester object instead of superglobals. 2023-12-21 11:20:29 +08:00
chaideqing 2b32f25e29 * Fix bug #42087. 2023-12-21 02:59:07 +00:00
liugang 220b26f6ef + userTest: add script to test the keepLogin method. 2023-12-21 10:58:35 +08:00
liugang 9e8dd1773b * userTest: refactor script to test the login method. 2023-12-21 10:49:16 +08:00
liugang 5c80cd2db2 * userModel: check account property of user object to judge if it's empty. 2023-12-21 10:48:50 +08:00
wangyuting 6360168976 * Adjust authorize unit test script. 2023-12-20 19:28:53 +08:00
liugang 90a0a46cf6 * userTest: refactor script to test the batchUpdate method. 2023-12-20 19:16:18 +08:00
liugang ba3d118bcd * userTest: fix errors of comment in unit test script. 2023-12-20 19:14:20 +08:00
liugang 7bd006a280 * userModel: fix bugs found by unit testing. 2023-12-20 19:12:24 +08:00
liugang d33c5c79a5 * userTest: refactor script to test the batchCreate method. 2023-12-20 18:38:20 +08:00
liugang 63795a0bb7 * userModel: remove the unused unset() statement. 2023-12-20 18:38:03 +08:00
liugang 876f0a9da8 * userModel: check if the properties of user match field settings in database. 2023-12-20 18:36:52 +08:00
liugang 7589645860 + userModel: return false if the passed $users parameter is empty. 2023-12-20 18:35:21 +08:00
wangyuting 23a673db58 * Refactor upgradeModel::grantUserView and finish unit test script. 2023-12-20 16:59:46 +08:00
wangyuting b71da2d1bd * Refactor userModel::getProductMembers and fix computeuserview unit test bug. 2023-12-20 15:26:05 +08:00
liugang adf0f5f974 * userTest: refactor script to test the update method. 2023-12-20 14:53:54 +08:00
liugang 943a6adbe2 * userModel: fix errors found by unit testing. 2023-12-20 14:52:44 +08:00
wangyuting e3cb113d28 * Refactor userModel::computeUserView and finish unit test script. 2023-12-20 09:55:23 +08:00
liugang b7d4cf12a6 * userTest: format code and optimize variable name. 2023-12-19 19:39:00 +08:00
liugang 23002045a1 * userTest: rename createUserTest to createTest. 2023-12-19 18:52:52 +08:00
liugang 3f7d77d539 Revert "* userTest: rename createUserTest to createUser."
This reverts commit a17cf55177.
2023-12-19 18:49:58 +08:00
liugang a17cf55177 * userTest: rename createUserTest to createUser. 2023-12-19 18:49:19 +08:00
liugang 213653027d * userTest: refactor script to test the create method. 2023-12-19 18:22:47 +08:00
wangyuting dc13578f77 * Refactor userModel::getParentStageAuthedUsers and finish unit test script. 2023-12-19 15:20:36 +08:00
wangyuting 0bf13958ed * Refactor userModel::authorize and finish unit test script. 2023-12-19 15:03:35 +08:00
liugang 7eb13b19cf * userModel: modify return type in method comment. 2023-12-19 14:34:32 +08:00
liugang f53b8d695c * userTest: refactor script to test the getById method. 2023-12-19 14:13:52 +08:00
wangyuting 09312d0034 * Fix bug where project priv overwrite user priv. 2023-12-19 14:11:40 +08:00
liugang 1fc2cb85c6 - userTest: remove unused script to test the getDataInJSON method. 2023-12-19 14:04:33 +08:00
liugang 472adfa02f + userTest: add comment. 2023-12-19 13:59:16 +08:00