diff --git a/tests/unit-tests/product/functions.php b/tests/unit-tests/product/functions.php index 7fed230c52b..bc2005eaea8 100644 --- a/tests/unit-tests/product/functions.php +++ b/tests/unit-tests/product/functions.php @@ -365,7 +365,7 @@ class WC_Tests_Product_Functions extends WC_Unit_Test_Case { * @since 3.0.2 */ public function test_wc_is_attribute_in_product_name() { - $this->assertTrue( wc_is_attribute_in_product_name( 'L', 'Product – L') ); + $this->assertTrue( wc_is_attribute_in_product_name( 'L', 'Product – L' ) ); $this->assertTrue( wc_is_attribute_in_product_name( 'Two Words', 'Product – L, Two Words' ) ); $this->assertTrue( wc_is_attribute_in_product_name( 'Blue', 'Product – The Cool One – Blue, Large' ) ); $this->assertFalse( wc_is_attribute_in_product_name( 'L', 'Product' ) );