mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-25 14:20:30 -04:00
Show user email address in account picker (#5015)
* Show user email address in account picker * Fix build break and remove Azure account from sqlops namespace
This commit is contained in:
@@ -71,7 +71,8 @@ suite('Account picker service tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Account 1'
|
||||
displayName: 'Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
|
||||
@@ -31,7 +31,8 @@ suite('Account picker view model tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Account 1'
|
||||
displayName: 'Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -42,7 +43,8 @@ suite('Account picker view model tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Work/School Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Account 2'
|
||||
displayName: 'Account 2',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: true
|
||||
|
||||
@@ -36,7 +36,8 @@ suite('Account Management Dialog ViewModel Tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Account 1'
|
||||
displayName: 'Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -47,7 +48,8 @@ suite('Account Management Dialog ViewModel Tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Work/School Account',
|
||||
accountType: 'work_school',
|
||||
displayName: 'Account 2'
|
||||
displayName: 'Account 2',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: true
|
||||
|
||||
@@ -36,7 +36,8 @@ suite('Firewall rule dialog controller tests', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Account 1'
|
||||
displayName: 'Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
|
||||
@@ -36,7 +36,9 @@ const account: azdata.Account = {
|
||||
displayInfo: {
|
||||
displayName: 'Test Account 1',
|
||||
accountType: 'test',
|
||||
contextualDisplayName: 'Azure Account'
|
||||
contextualDisplayName: 'Azure Account',
|
||||
userId: 'user@email.com'
|
||||
|
||||
},
|
||||
isStale: false,
|
||||
properties: {}
|
||||
|
||||
@@ -54,6 +54,7 @@ suite('ExtHostAccountManagement', () => {
|
||||
properties: {},
|
||||
displayInfo: {
|
||||
displayName: 'Test Account',
|
||||
userId: 'user@email.com',
|
||||
contextualDisplayName: 'Test Kind Of Account',
|
||||
accountType: 'test'
|
||||
},
|
||||
@@ -272,7 +273,8 @@ suite('ExtHostAccountManagement', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Azure Account 1'
|
||||
displayName: 'Azure Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -285,7 +287,8 @@ suite('ExtHostAccountManagement', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Work/School Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Azure Account 2'
|
||||
displayName: 'Azure Account 2',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -347,7 +350,8 @@ suite('ExtHostAccountManagement', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Azure Account 1'
|
||||
displayName: 'Azure Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -385,7 +389,8 @@ suite('ExtHostAccountManagement', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Microsoft Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Azure Account 1'
|
||||
displayName: 'Azure Account 1',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
@@ -409,7 +414,8 @@ suite('ExtHostAccountManagement', () => {
|
||||
displayInfo: {
|
||||
contextualDisplayName: 'Work/School Account',
|
||||
accountType: 'microsoft',
|
||||
displayName: 'Azure Account 2'
|
||||
displayName: 'Azure Account 2',
|
||||
userId: 'user@email.com'
|
||||
},
|
||||
properties: [],
|
||||
isStale: false
|
||||
|
||||
Reference in New Issue
Block a user