Fixed coding standards in tests

This commit is contained in:
Claudio Sanches 2017-04-20 01:33:22 -03:00
parent 0b60af0774
commit e208e35e33
1 changed files with 1 additions and 1 deletions

View File

@ -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' ) );