@@ -123,7 +123,8 @@ class SignInViewModelTest {
123123 courseId = " " ,
124124 infoType = " " ,
125125 calendarInteractor = calendarInteractor,
126- calendarPreferences = calendarPreferences
126+ calendarPreferences = calendarPreferences,
127+ configuration = config
127128 )
128129 viewModel.login(" " , " " )
129130 coVerify(exactly = 0 ) { interactor.login(any(), any()) }
@@ -159,7 +160,8 @@ class SignInViewModelTest {
159160 courseId = " " ,
160161 infoType = " " ,
161162 calendarInteractor = calendarInteractor,
162- calendarPreferences = calendarPreferences
163+ calendarPreferences = calendarPreferences,
164+ configuration = config,
163165 )
164166 viewModel.login(
" [email protected] " ,
" " )
165167 coVerify(exactly = 0 ) { interactor.login(any(), any()) }
@@ -195,7 +197,8 @@ class SignInViewModelTest {
195197 courseId = " " ,
196198 infoType = " " ,
197199 calendarInteractor = calendarInteractor,
198- calendarPreferences = calendarPreferences
200+ calendarPreferences = calendarPreferences,
201+ configuration = config,
199202 )
200203 viewModel.login(
" [email protected] " ,
" " )
201204
@@ -230,7 +233,8 @@ class SignInViewModelTest {
230233 courseId = " " ,
231234 infoType = " " ,
232235 calendarInteractor = calendarInteractor,
233- calendarPreferences = calendarPreferences
236+ calendarPreferences = calendarPreferences,
237+ configuration = config,
234238 )
235239 viewModel.login(
" [email protected] " ,
" ed" )
236240
@@ -269,7 +273,8 @@ class SignInViewModelTest {
269273 courseId = " " ,
270274 infoType = " " ,
271275 calendarInteractor = calendarInteractor,
272- calendarPreferences = calendarPreferences
276+ calendarPreferences = calendarPreferences,
277+ configuration = config,
273278 )
274279 coEvery { interactor.login(
" [email protected] " ,
" edx" ) } returns
Unit 275280 viewModel.login(
" [email protected] " ,
" edx" )
@@ -308,7 +313,8 @@ class SignInViewModelTest {
308313 courseId = " " ,
309314 infoType = " " ,
310315 calendarInteractor = calendarInteractor,
311- calendarPreferences = calendarPreferences
316+ calendarPreferences = calendarPreferences,
317+ configuration = config,
312318 )
313319 coEvery { interactor.login(
" [email protected] " ,
" edx" ) } throws
UnknownHostException ()
314320 viewModel.login(
" [email protected] " ,
" edx" )
@@ -349,7 +355,8 @@ class SignInViewModelTest {
349355 courseId = " " ,
350356 infoType = " " ,
351357 calendarInteractor = calendarInteractor,
352- calendarPreferences = calendarPreferences
358+ calendarPreferences = calendarPreferences,
359+ configuration = config,
353360 )
354361 coEvery { interactor.login(
" [email protected] " ,
" edx" ) } throws
EdxError .
InvalidGrantException ()
355362 viewModel.login(
" [email protected] " ,
" edx" )
@@ -390,7 +397,8 @@ class SignInViewModelTest {
390397 courseId = " " ,
391398 infoType = " " ,
392399 calendarInteractor = calendarInteractor,
393- calendarPreferences = calendarPreferences
400+ calendarPreferences = calendarPreferences,
401+ configuration = config,
394402 )
395403 coEvery { interactor.login(
" [email protected] " ,
" edx" ) } throws
IllegalStateException ()
396404 viewModel.login(
" [email protected] " ,
" edx" )
0 commit comments