Skip to content

Commit 53ca597

Browse files
Fix tests
1 parent 306b7af commit 53ca597

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Diff for: tests/render_helper_test.php

+8-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ function test_pug_instance_options_with_wp_debug_false() {
4343
'strict' => true,
4444
'debug' => false,
4545
'enable_profiler' => false,
46-
'error_reporting' => E_ERROR | E_USER_ERROR
46+
'error_reporting' => E_ERROR | E_USER_ERROR,
47+
'keep_base_name' => true,
48+
'paths' => [Wordless::theme_views_path()],
49+
'mixin_keyword' => ['mixin','component'],
4750
),
4851
WordlessPugOptions::get_options()
4952
);
@@ -60,7 +63,10 @@ function test_pug_instance_options_with_wp_debug_true() {
6063
'strict' => true,
6164
'debug' => true,
6265
'enable_profiler' => false,
63-
'error_reporting' => E_ERROR | E_USER_ERROR
66+
'error_reporting' => E_ERROR | E_USER_ERROR,
67+
'keep_base_name' => true,
68+
'paths' => [Wordless::theme_views_path()],
69+
'mixin_keyword' => ['mixin','component'],
6470
),
6571
WordlessPugOptions::get_options()
6672
);

0 commit comments

Comments
 (0)