Merge branch 'stable-2.16' into stable-3.0
* stable-2.16:
AccountManager: Allow to duplicate emails per account
Replace ${project} in a foreach query (for project dashboards)
Change-Id: I6db2f9e1a672f22c71931a3034bf4ae47bff6d13
This commit is contained in:
@@ -466,6 +466,7 @@ public class ExternalIdIT extends AbstractDaemonTest {
|
||||
admin.id(),
|
||||
"admin.other@example.com",
|
||||
"secret-password"));
|
||||
insertExtId(ExternalId.createEmail(admin.id(), "admin.other@example.com"));
|
||||
insertExtId(createExternalIdWithOtherCaseEmail(nextId(scheme, i)));
|
||||
}
|
||||
|
||||
@@ -696,7 +697,7 @@ public class ExternalIdIT extends AbstractDaemonTest {
|
||||
}
|
||||
|
||||
private ExternalId createExternalIdWithDuplicateEmail(String externalId) {
|
||||
return ExternalId.createWithEmail(ExternalId.Key.parse(externalId), admin.id(), admin.email());
|
||||
return ExternalId.createWithEmail(ExternalId.Key.parse(externalId), user.id(), admin.email());
|
||||
}
|
||||
|
||||
private ExternalId createExternalIdWithBadPassword(String username) {
|
||||
|
||||
Reference in New Issue
Block a user