fix: 更新 H5 主机地址为测试环境

This commit is contained in:
Booker
2026-05-27 12:05:38 +07:00
parent bf4d031c60
commit e5d3c12c15
4 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ void main() {
);
expect(uri.scheme, 'https');
expect(uri.host, 'h5-im.imharry.work');
expect(uri.host, 'h5-test.imharry.work');
expect(uri.path, '/');
expect(uri.queryParameters.containsKey('flutter_shell'), isFalse);
expect(uri.queryParameters.containsKey('shell_app_name'), isFalse);
@@ -33,7 +33,7 @@ void main() {
test('refreshes an H5 route URL without adding branding to the URL', () {
final uri = Uri.parse(
AppConfig.withFreshShellParams(
'https://h5-im.imharry.work/login?from=runtime&shell_app_name=Old'
'https://h5-test.imharry.work/login?from=runtime&shell_app_name=Old'
'&flutter_shell=1&shell_cache_bust=1#shell_app_logo=old',
),
);
@@ -57,7 +57,7 @@ void main() {
);
expect(uri.scheme, 'https');
expect(uri.host, 'h5-im.imharry.work');
expect(uri.host, 'h5-test.imharry.work');
expect(uri.path, '/login');
expect(uri.queryParameters['from'], 'runtime');
expect(uri.queryParameters.containsKey('shell_app_name'), isFalse);