Skip to content

Commit 70289ef

Browse files
committed
Fix tests
1 parent dcac6ce commit 70289ef

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

tests/controller/controller_manifest_test.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protected function setUp(): void
5252
public function manifest_data()
5353
{
5454
return [
55-
'using web root path' => [
55+
'using board url root path' => [
5656
[
5757
'force_server_vars' => false,
5858
'script_path' => '',
@@ -64,14 +64,14 @@ public function manifest_data()
6464
'short_name' => 'yourdomain',
6565
'display' => 'standalone',
6666
'orientation' => 'portrait',
67-
'start_url' => './phpBB/',
68-
'scope' => './phpBB/',
67+
'start_url' => '/',
68+
'scope' => '/',
6969
],
7070
],
7171
'using script path' => [
7272
[
7373
'force_server_vars' => true,
74-
'script_path' => '/',
74+
'script_path' => '/foo/',
7575
'sitename' => 'yourdomain.com',
7676
'pwa_short_name' => 'yourdomain',
7777
],
@@ -80,8 +80,8 @@ public function manifest_data()
8080
'short_name' => 'yourdomain',
8181
'display' => 'standalone',
8282
'orientation' => 'portrait',
83-
'start_url' => '/',
84-
'scope' => '/',
83+
'start_url' => '/foo/',
84+
'scope' => '/foo/',
8585
],
8686
],
8787
'with shortname' => [
@@ -94,8 +94,8 @@ public function manifest_data()
9494
'short_name' => 'testdomain',
9595
'display' => 'standalone',
9696
'orientation' => 'portrait',
97-
'start_url' => './phpBB/',
98-
'scope' => './phpBB/',
97+
'start_url' => '/',
98+
'scope' => '/',
9999
],
100100
],
101101
'without shortname' => [
@@ -108,8 +108,8 @@ public function manifest_data()
108108
'short_name' => 'testdomain.c',
109109
'display' => 'standalone',
110110
'orientation' => 'portrait',
111-
'start_url' => './phpBB/',
112-
'scope' => './phpBB/',
111+
'start_url' => '/',
112+
'scope' => '/',
113113
],
114114
],
115115
'with icons' => [
@@ -124,8 +124,8 @@ public function manifest_data()
124124
'short_name' => '',
125125
'display' => 'standalone',
126126
'orientation' => 'portrait',
127-
'start_url' => './phpBB/',
128-
'scope' => './phpBB/',
127+
'start_url' => '/',
128+
'scope' => '/',
129129
'icons' => [
130130
[
131131
'src' => 'http://images/site_icons/foo_sm.png',

0 commit comments

Comments
 (0)