@@ -146,16 +146,16 @@ public function show_sitemaker_test_data()
146
146
array (
147
147
false ,
148
148
array (
149
+ 'sm_navbar_menu ' => 0 ,
149
150
'sm_hide_birthday ' => true ,
150
151
'sm_hide_login ' => true ,
151
152
'sm_hide_online ' => true ,
152
153
'sm_show_forum_nav ' => true ,
153
154
'sitemaker_startpage_controller ' => '' ,
154
155
),
155
156
array (
156
- 'menu_id ' => 0 ,
157
- 'location ' => '' ,
158
- 'last_modified ' => 0 ,
157
+ 'location ' => '' ,
158
+ 'modified ' => 0 ,
159
159
),
160
160
array (
161
161
'S_USER_LOGGED_IN ' => true ,
@@ -167,16 +167,16 @@ public function show_sitemaker_test_data()
167
167
array (
168
168
true ,
169
169
array (
170
+ 'sm_navbar_menu ' => 2 ,
170
171
'sm_hide_birthday ' => true ,
171
172
'sm_hide_login ' => true ,
172
173
'sm_hide_online ' => true ,
173
174
'sm_show_forum_nav ' => true ,
174
175
'sitemaker_startpage_controller ' => '' ,
175
176
),
176
177
array (
177
- 'menu_id ' => 2 ,
178
- 'location ' => '' ,
179
- 'last_modified ' => 0 ,
178
+ 'location ' => '' ,
179
+ 'modified ' => 0 ,
180
180
),
181
181
array (
182
182
'S_USER_LOGGED_IN ' => true ,
@@ -188,16 +188,16 @@ public function show_sitemaker_test_data()
188
188
array (
189
189
false ,
190
190
array (
191
+ 'sm_navbar_menu ' => 2 ,
191
192
'sm_hide_birthday ' => false ,
192
193
'sm_hide_login ' => false ,
193
194
'sm_hide_online ' => false ,
194
195
'sm_show_forum_nav ' => false ,
195
196
'sitemaker_startpage_controller ' => 'some_controller ' ,
196
197
),
197
198
array (
198
- 'menu_id ' => 2 ,
199
- 'location ' => 'some location ' ,
200
- 'last_modified ' => 123456789 ,
199
+ 'location ' => 'some location ' ,
200
+ 'modified ' => 123456789 ,
201
201
),
202
202
array (
203
203
'S_USER_LOGGED_IN ' => false ,
@@ -213,16 +213,16 @@ public function show_sitemaker_test_data()
213
213
array (
214
214
true ,
215
215
array (
216
+ 'sm_navbar_menu ' => 3 ,
216
217
'sm_hide_birthday ' => true ,
217
218
'sm_hide_login ' => false ,
218
219
'sm_hide_online ' => true ,
219
220
'sm_show_forum_nav ' => true ,
220
221
'sitemaker_startpage_controller ' => 'some_controller ' ,
221
222
),
222
223
array (
223
- 'menu_id ' => 3 ,
224
- 'location ' => 'other location ' ,
225
- 'last_modified ' => 213564546 ,
224
+ 'location ' => 'other location ' ,
225
+ 'modified ' => 213564546 ,
226
226
),
227
227
array (
228
228
'S_USER_LOGGED_IN ' => true ,
@@ -289,7 +289,7 @@ public function test_show_sitemaker($user_is_logged_in, array $config_data, arra
289
289
->method ('get_user_style ' )
290
290
->willReturn (['prosilver ' ]);
291
291
292
- $ this ->navigation ->expects ($ this ->once ( ))
292
+ $ this ->navigation ->expects ($ this ->exactly ( 1 ))
293
293
->method ('get_settings ' )
294
294
->with ('prosilver ' )
295
295
->willReturn ($ navbar_settings );
0 commit comments