1
0
forked from baron/baron-sso

chore: consolidate local integration changes

This commit is contained in:
2026-06-09 21:03:05 +09:00
parent aa2848c3b6
commit 1341f07ef9
158 changed files with 10995 additions and 1490 deletions

View File

@@ -13,4 +13,23 @@ void main() {
expect(source.contains('_loadAuditLogs('), isFalse);
expect(source.contains('/api/v1/audit/auth/timeline'), isFalse);
});
test('나의 App 현황 연동해지 버튼은 단일 라인 텍스트로 렌더링한다', () async {
final screenFile = File(
'lib/features/dashboard/presentation/dashboard_screen.dart',
);
final source = await screenFile.readAsString();
final revokeLabelIndex = source.lastIndexOf(
"tr('ui.userfront.dashboard.revoke.title')",
);
expect(revokeLabelIndex, isNonNegative);
final snippetStart = revokeLabelIndex > 500 ? revokeLabelIndex - 500 : 0;
final snippetEnd = revokeLabelIndex + 300 < source.length
? revokeLabelIndex + 300
: source.length;
final revokeButtonSource = source.substring(snippetStart, snippetEnd);
expect(revokeButtonSource, contains('_singleLineText('));
});
}

View File

@@ -31,6 +31,10 @@ void main() {
}
});
test('Korean linked app revoke action label stays unbreakable', () {
expect(koStrings['ui.userfront.dashboard.revoke.title'], '연동해지');
});
test(
'TomlAssetLoader excludes non-userfront dictionaries at startup',
() async {