From 8dc7e50a15f1b4b078bbf834d8b994f3db45096a Mon Sep 17 00:00:00 2001 From: Arin Nigam Date: Tue, 16 Apr 2024 22:12:17 +0530 Subject: [PATCH] Fixed test cases --- .../pre_auth_view_models/signup_details_view_model_test.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/view_model_tests/pre_auth_view_models/signup_details_view_model_test.dart b/test/view_model_tests/pre_auth_view_models/signup_details_view_model_test.dart index 4e9c60398..a98bf1a02 100644 --- a/test/view_model_tests/pre_auth_view_models/signup_details_view_model_test.dart +++ b/test/view_model_tests/pre_auth_view_models/signup_details_view_model_test.dart @@ -49,7 +49,7 @@ class SignUpMock extends StatelessWidget { } OrgInfo get org => OrgInfo( - id: '3', + id: '', name: 'test org 3', userRegistrationRequired: userRegistrationRequired, creatorInfo: User(firstName: 'test', lastName: '1'), @@ -143,7 +143,7 @@ void main() { locator.registerSingleton(MockUserConfig()); final model = SignupDetailsViewModel(); - + model.selectedOrganization = OrgInfo(id: ""); await tester.pumpWidget(SignUpMock(formKey: model.formKey)); when(