전역 구조 리팩터링 및 테스트 확장

This commit is contained in:
JiWoong Sul
2025-09-29 01:51:47 +09:00
parent c00c0c9ab2
commit fef7108479
70 changed files with 7709 additions and 3185 deletions

View File

@@ -139,7 +139,7 @@ void main() {
await tester.pumpWidget(_buildApp(const GroupPermissionPage()));
await tester.pumpAndSettle();
expect(find.text('대시보드'), findsOneWidget);
expect(find.text('대시보드'), findsWidgets);
expect(find.text('관리자'), findsOneWidget);
});
@@ -278,7 +278,7 @@ void main() {
expect(capturedInput?.canCreate, isTrue);
expect(capturedInput?.canUpdate, isTrue);
expect(find.byType(Dialog), findsNothing);
expect(find.text('대시보드'), findsOneWidget);
expect(find.text('대시보드'), findsWidgets);
verify(() => permissionRepository.create(any())).called(1);
});
});