Skip to content

Commit

Permalink
PHPCS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemd24 committed Aug 21, 2024
1 parent de9bd60 commit 70b3f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Plugin/PluginHelperTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@ public function test_invalid_numbers() {
}

public function test_with_thousands_separator() {
$this->assertEquals( '1234.5', $this->trait->convert_to_standard_decimal( '1'.wc_get_price_thousand_separator().'234,5' ) );
$this->assertEquals( '1234.5', $this->trait->convert_to_standard_decimal( '1' . wc_get_price_thousand_separator() . '234,5' ) );
}

public function test_with_no_decimals() {
$this->assertEquals( '12345', $this->trait->convert_to_standard_decimal( '12345' ) );
}
}

public function test_with_different_wc_decimal_separator() {
add_filter(
Expand Down

0 comments on commit 70b3f1f

Please sign in to comment.