[ticket/16777] Fix manifest test

PHPBB-16777
This commit is contained in:
Marc Alexander 2024-08-09 22:32:23 +02:00
parent 28e217aa84
commit 4f4d4044e2
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -18,14 +18,16 @@ class phpbb_functional_manifest_test extends phpbb_functional_test_case
{
public function test_manifest()
{
$url_path = preg_replace('#^(/.+)/$#', '$1', parse_url(self::$root_url, PHP_URL_PATH));
$expected = [
'name' => 'yourdomain.com',
'short_name' => 'yourdomain',
'display' => 'standalone',
'orientation' => 'portrait',
'dir' => 'ltr',
'start_url' => '/',
'scope' => '/',
'start_url' => $url_path,
'scope' => $url_path,
];
$this->login();