Fixed coding standards in tests
This commit is contained in:
parent
0b60af0774
commit
e208e35e33
|
@ -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' ) );
|
||||
|
|
Loading…
Reference in New Issue