test: add 'language' field test to user_test.dart

This commit is contained in:
groovinchip
2021-07-20 15:13:58 -04:00
parent 62b058e675
commit c6dd3b0cd7
@@ -29,6 +29,7 @@ void main() {
expect(newUser.id, user.id);
expect(newUser.role, user.role);
expect(newUser.name, user.name);
expect(newUser.language, user.language);
newUser = user.copyWith(
id: 'test',
@@ -41,6 +42,7 @@ void main() {
expect(newUser.id, 'test');
expect(newUser.role, 'test');
expect(newUser.name, 'test');
expect(newUser.language, 'en');
});
});
}