From 4f9ab32bdfb74772c82028bb43b7fce7bd618831 Mon Sep 17 00:00:00 2001
From: Erick Hitter <git-contrib@ethitter.com>
Date: Sun, 26 May 2019 15:29:06 -0700
Subject: [PATCH] PHPCS

---
 tests/test-ui.php | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/tests/test-ui.php b/tests/test-ui.php
index 23688c1..3cc9305 100755
--- a/tests/test-ui.php
+++ b/tests/test-ui.php
@@ -114,9 +114,9 @@ class TestUI extends WP_UnitTestCase {
 
 		update_option(
 			static::$settings_section,
-			[
+			array(
 				'post' => $value,
-			]
+			)
 		);
 
 		ob_start();
@@ -154,9 +154,9 @@ class TestUI extends WP_UnitTestCase {
 
 		update_option(
 			static::$settings_section,
-			[
+			array(
 				'post' => $value,
-			]
+			)
 		);
 
 		ob_start();
@@ -177,10 +177,7 @@ class TestUI extends WP_UnitTestCase {
 		);
 
 		$this->assertContains(
-			sprintf(
-				$value_format,
-				$value
-			),
+			$value_format,
 			$post_field,
 			'Failed to assert that post field had correct value.'
 		);
-- 
GitLab