Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit a32e089

Browse files
fix: tests
1 parent 40352e9 commit a32e089

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/controllers/admin/test-dashboard.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private static function get_output_js() {
168168
$contents = ob_get_contents();
169169
ob_end_clean();
170170

171-
static::set_property( static::$app->minify, '_has_output_script', false );
171+
static::set_property( static::$app->minify, 'has_output_script', false );
172172

173173
return $contents;
174174
}
@@ -183,7 +183,7 @@ private static function get_output_css() {
183183
$contents = ob_get_contents();
184184
ob_end_clean();
185185

186-
static::set_property( static::$app->minify, '_end_footer', false );
186+
static::set_property( static::$app->minify, 'end_footer', false );
187187

188188
return $contents;
189189
}

tests/models/custom_post/test-setting.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private function get_output_js() {
316316
$contents = ob_get_contents();
317317
ob_end_clean();
318318

319-
static::set_property( static::$app->minify, '_has_output_script', false );
319+
static::set_property( static::$app->minify, 'has_output_script', false );
320320

321321
return $contents;
322322
}
@@ -331,7 +331,7 @@ private function get_output_css() {
331331
$contents = ob_get_contents();
332332
ob_end_clean();
333333

334-
static::set_property( static::$app->minify, '_end_footer', false );
334+
static::set_property( static::$app->minify, 'end_footer', false );
335335

336336
return $contents;
337337
}

0 commit comments

Comments
 (0)