mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/16777] Fix manifest test
PHPBB-16777
This commit is contained in:
parent
28e217aa84
commit
4f4d4044e2
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue