
|
If you were logged in you would be able to see more operations.
|
|
|
|
at com.mycompany.webapp.action.UserActionTest
public void testSaveConflictingUser() throws Exception {
.......
// e-mail address from existing user
User existingUser = (User) userManager.getUsers().get(0);
// userManager.getUsers().get(0) will get same user on db2!!!
// need add two rows below to insure get right(exiting user) user,not same user
if(user.getId()==existingUser.getId())
existingUser = (User) userManager.getUsers().get(1);
|
|
Description
|
at com.mycompany.webapp.action.UserActionTest
public void testSaveConflictingUser() throws Exception {
.......
// e-mail address from existing user
User existingUser = (User) userManager.getUsers().get(0);
// userManager.getUsers().get(0) will get same user on db2!!!
// need add two rows below to insure get right(exiting user) user,not same user
if(user.getId()==existingUser.getId())
existingUser = (User) userManager.getUsers().get(1);
|
Show » |
Sort Order:
| There are no entries against this issue.
|
|