Commit 4f9ab32b authored by Erick Hitter's avatar Erick Hitter

PHPCS

parent c9a5cb20
Pipeline #1061 passed with stages
in 3 minutes and 10 seconds
...@@ -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.'
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment