fix/refactor-test #8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/refactor-test"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Fix lesson unlock flow, local auth, and schema. Add e2e CI, extract shared utilities, clean dead code. 92 tests passing.
Bug Fixes
completed_lesson_countoverflow (seed started at 1, not 0)password_hashandunlocked_atcolumns in native DB schema (v1→v2 migration)_onContinue()awaits provider refresh before navigation instead of blind delayRefactor
_toEnumName()→core/utils/enum_utils.dart_hashPassword()→core/utils/hash_utils.dartdata/mappers/(4 files)api_client.dart, 2 unused use cases, 2 dead providerslottie,fl_chart,dio,intl,path_provider,http_mock_adapterAppConstantsTests (79 → 92)
auth_repository_impl_test.dart(+10): signIn/signUp/signOut, hashing, duplicate emailgamification_service_test.dart(+3): next lesson unlock, next unit unlock, first lesson in new unitCI/CD
ci.yml: fixsudo, add pub cache, upload coverage artifacte2e.yml(new): Flutter web build → Chromium headless → Puppeteer — 7 assertions on PRdeploy.yml: pipeline gate —test→e2e→deployFiles Changed