@@ -26,7 +26,7 @@ public void BasicAuthentication_GetCredentials_NonDesktopSession_ResourceAndUser
26
26
const string testUserName = "john.doe" ;
27
27
const string testPassword = "letmein123" ;
28
28
29
- var context = new TestCommandContext { IsDesktopSession = false } ;
29
+ var context = new TestCommandContext { SessionManager = { IsDesktopSession = false } } ;
30
30
context . Terminal . SecretPrompts [ "Password" ] = testPassword ;
31
31
32
32
var basicAuth = new BasicAuthentication ( context ) ;
@@ -44,7 +44,7 @@ public void BasicAuthentication_GetCredentials_NonDesktopSession_Resource_UserPa
44
44
const string testUserName = "john.doe" ;
45
45
const string testPassword = "letmein123" ;
46
46
47
- var context = new TestCommandContext { IsDesktopSession = false } ;
47
+ var context = new TestCommandContext { SessionManager = { IsDesktopSession = false } } ;
48
48
context . Terminal . Prompts [ "Username" ] = testUserName ;
49
49
context . Terminal . SecretPrompts [ "Password" ] = testPassword ;
50
50
@@ -63,7 +63,7 @@ public void BasicAuthentication_GetCredentials_NonDesktopSession_NoTerminalPromp
63
63
64
64
var context = new TestCommandContext
65
65
{
66
- IsDesktopSession = false ,
66
+ SessionManager = { IsDesktopSession = false } ,
67
67
Settings = { IsInteractionAllowed = false } ,
68
68
} ;
69
69
@@ -81,7 +81,7 @@ public void BasicAuthentication_GetCredentials_DesktopSession_Resource_UserPassP
81
81
82
82
var context = new TestCommandContext
83
83
{
84
- IsDesktopSession = true ,
84
+ SessionManager = { IsDesktopSession = true } ,
85
85
SystemPrompts =
86
86
{
87
87
CredentialPrompt = ( resource , userName ) =>
@@ -112,7 +112,7 @@ public void BasicAuthentication_GetCredentials_DesktopSession_ResourceAndUser_Pa
112
112
113
113
var context = new TestCommandContext
114
114
{
115
- IsDesktopSession = true ,
115
+ SessionManager = { IsDesktopSession = true } ,
116
116
SystemPrompts =
117
117
{
118
118
CredentialPrompt = ( resource , userName ) =>
@@ -144,7 +144,7 @@ public void BasicAuthentication_GetCredentials_DesktopSession_ResourceAndUser_Pa
144
144
145
145
var context = new TestCommandContext
146
146
{
147
- IsDesktopSession = true ,
147
+ SessionManager = { IsDesktopSession = true } ,
148
148
SystemPrompts =
149
149
{
150
150
CredentialPrompt = ( resource , userName ) =>
0 commit comments