Skip to content

Commit

Permalink
Fixed coding standards in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiosanches committed Apr 20, 2017
1 parent 0b60af0 commit e208e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit-tests/product/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ public function test_wc_product_force_unique_sku() {
* @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' ) );
Expand Down

0 comments on commit e208e35

Please sign in to comment.