From b60118fedd6033deece900b7be25110f7a1fd4f1 Mon Sep 17 00:00:00 2001 From: Efrain Bastidas Date: Thu, 8 Sep 2022 22:15:47 -0500 Subject: [PATCH] Revert "[Tests] Make test pass. Revert this change once the next update drops" This reverts commit 30f97541347c6e4db40052532e6c352fdfe04b15. --- test/application/home/home_bloc_test.dart | 2 +- test/infrastructure/file/character_file_service_test.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/application/home/home_bloc_test.dart b/test/application/home/home_bloc_test.dart index 26163decc..736995ce8 100644 --- a/test/application/home/home_bloc_test.dart +++ b/test/application/home/home_bloc_test.dart @@ -61,7 +61,7 @@ void main() { checkAsset(material.image); expect(material.days, isNotEmpty); expect(material.days.every((day) => _expectedDays.contains(day)), isTrue); - checkItemsCommon(material.characters, checkEmpty: false); + checkItemsCommon(material.characters); } for (final material in state.weaponAscMaterials) { diff --git a/test/infrastructure/file/character_file_service_test.dart b/test/infrastructure/file/character_file_service_test.dart index d69d9479a..500c4e3a8 100644 --- a/test/infrastructure/file/character_file_service_test.dart +++ b/test/infrastructure/file/character_file_service_test.dart @@ -335,7 +335,7 @@ void main() { checkKey(material.key); checkAsset(material.image); expect(material.name, allOf([isNotNull, isNotEmpty])); - //expect(material.characters, isNotEmpty); + expect(material.characters, isNotEmpty); expect(material.days, isNotEmpty); for (final item in material.characters) { checkItemCommon(item);