'https://shop.example.com/']); $this->assertSame('https://shop.example.com/h5', ConfigService::get('base_domain')); } public function testGetFallsBackToRelativeH5WhenSystemSiteHostIsEmpty(): void { sysdata('system.site', ['host' => '']); $this->assertSame('/h5', ConfigService::get('base_domain')); } protected function defineSchema(): void { $this->createSystemDataTable(); } }