-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1051 from oncokb/update-duplicate-user-weighting
Update duplicate user weighting
- Loading branch information
Showing
3 changed files
with
77 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,8 @@ public class SlackControllerIT { | |
private static final String DEFAULT_ADDR = "[email protected]"; | ||
|
||
// Mock fields for test user | ||
private static final String DEFAULT_USER_FIRST_NAME = "Jon"; | ||
private static final String DEFAULT_USER_LAST_NAME = "Doe"; | ||
private static final String DEFAULT_USER_EMAIL = "[email protected]"; | ||
private static final String DEFAULT_LANG_KEY = "en"; | ||
private static final String DEFAULT_COMPANY_NAME = "company name"; | ||
|
@@ -190,6 +192,8 @@ void setUp() throws IOException, SlackApiException { | |
|
||
// Create mock user | ||
User mockUser = new User(); | ||
mockUser.setFirstName(DEFAULT_USER_FIRST_NAME); | ||
mockUser.setLastName(DEFAULT_USER_LAST_NAME); | ||
mockUser.setLogin(DEFAULT_USER_EMAIL); | ||
mockUser.setEmail(DEFAULT_USER_EMAIL); | ||
mockUser.setPassword(passwordEncoder.encode(RandomUtil.generatePassword())); | ||
|