Skip to content
Snippets Groups Projects
Commit 4f9ab32b authored by Erick Hitter's avatar Erick Hitter
Browse files

PHPCS

parent c9a5cb20
No related branches found
No related tags found
1 merge request!4Add bulk actions
Pipeline #1061 passed
...@@ -114,9 +114,9 @@ class TestUI extends WP_UnitTestCase { ...@@ -114,9 +114,9 @@ class TestUI extends WP_UnitTestCase {
update_option( update_option(
static::$settings_section, static::$settings_section,
[ array(
'post' => $value, 'post' => $value,
] )
); );
ob_start(); ob_start();
...@@ -154,9 +154,9 @@ class TestUI extends WP_UnitTestCase { ...@@ -154,9 +154,9 @@ class TestUI extends WP_UnitTestCase {
update_option( update_option(
static::$settings_section, static::$settings_section,
[ array(
'post' => $value, 'post' => $value,
] )
); );
ob_start(); ob_start();
...@@ -177,10 +177,7 @@ class TestUI extends WP_UnitTestCase { ...@@ -177,10 +177,7 @@ class TestUI extends WP_UnitTestCase {
); );
$this->assertContains( $this->assertContains(
sprintf( $value_format,
$value_format,
$value
),
$post_field, $post_field,
'Failed to assert that post field had correct value.' 'Failed to assert that post field had correct value.'
); );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment