fix: ios 16

This commit is contained in:
hashbro
2026-08-09 22:05:47 +08:00
parent 6bc172c570
commit ad30453922
7 changed files with 8 additions and 21 deletions
@@ -28,7 +28,6 @@ class ChannelProjectServiceTest extends TestCase
'coruna.channel_builder.artifact_root' => storage_path('app/channel-artifacts-test'),
'coruna.channel_builder.timeout' => 30,
'coruna.channel_domains' => ['fallback.test'],
'coruna.static_site.base_url' => 'https://static.test/assets',
]);
}
@@ -173,13 +172,11 @@ class ChannelProjectServiceTest extends TestCase
'domains' => ['channel.test'],
]);
$this->assertSame([
'https://static.test/assets/web/'.self::CHANNEL_ID.'/support.html',
'https://channel.test/web/'.self::CHANNEL_ID.'/support.html',
], $withStored->supportLinks());
$fallback = new Channel(['channel_id' => self::CHANNEL_ID, 'domains' => []]);
$this->assertSame([
'https://static.test/assets/web/'.self::CHANNEL_ID.'/support.html',
'https://fallback.test/web/'.self::CHANNEL_ID.'/support.html',
], $fallback->supportLinks());
}