fix: 更新 H5 主机地址为测试环境
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user