File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -159,3 +159,6 @@ flutter pub global run intl_utils:generate
159159
160160
161161Link library : https://pub.dev/packages/intl_utils 
162+ 
163+ ## Visitors Count  
164+ <img  height =" 30px "  src  = " https://profile-counter.glitch.me/vnapnic/count.svg "  alt  =" Loading " >
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ void main() {
99 final  mockRepository =  LoginRepositoryMock ();
1010 final  useCase =  LoginUseCase (mockRepository);
1111
12-  useCase.login ('VMO ' , 'VMO ' );
12+  useCase.login ('test ' , 'test ' );
1313
14-  verify (mockRepository.login ('VMO ' , 'VMO ' ))
14+  verify (mockRepository.login ('test ' , 'test ' ))
1515 .called (1 );
1616 });
1717}
Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ void main() {
2323 build:  () {
2424 mockUseCase =  LoginUserCaseMock ();
2525 loginCubit =  LoginCubit (loginUseCase:  mockUseCase);
26-  when (mockUseCase.login ('VMO ' , 'VMO ' )).thenAnswer ((_) async  =>  response);
26+  when (mockUseCase.login ('test ' , 'test ' )).thenAnswer ((_) async  =>  response);
2727 return  loginCubit;
2828 },
29-  act:  (cubit) async  =>  await  cubit.login (user:  'VMO ' , password:  'VMO ' ),
29+  act:  (cubit) async  =>  await  cubit.login (user:  'test ' , password:  'test ' ),
3030 expect:  () => 
3131 [LoadingLoginState (), LoginSuccessfullyState (response:  response)],
3232 );
@@ -39,7 +39,7 @@ void main() {
3939 when (mockUseCase.login (null , null )).thenAnswer ((_) =>  throw  TypeError ());
4040 return  loginCubit;
4141 },
42-  act:  (cubit) async  =>  await  cubit.login (user:  'VMO ' , password:  'VMO ' ),
42+  act:  (cubit) async  =>  await  cubit.login (user:  'test ' , password:  'test ' ),
4343 expect:  () =>  [
4444 LoadingLoginState (),
4545 ErrorLoginState (errorMessage:  S .current.connectionProblem)
                                 You can’t perform that action at this time. 
               
                  
0 commit comments