Skip to content

Commit

Permalink
Code consistency changes for tests/unit-tests/util/core-functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyza committed Jul 6, 2016
1 parent 6fa8dbd commit c019266
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/unit-tests/util/core-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class WC_Tests_Core_Functions extends WC_Unit_Test_Case {
* @since 2.2
*/
public function test_get_woocommerce_currency() {

$this->assertEquals( 'GBP', get_woocommerce_currency() );
}

Expand All @@ -23,7 +22,6 @@ public function test_get_woocommerce_currency() {
* @since 2.2
*/
public function test_get_woocommerce_currencies() {

$expected_currencies = array(
'AED' => __( 'United Arab Emirates dirham', 'woocommerce' ),
'AFN' => __( 'Afghan afghani', 'woocommerce' ),
Expand Down Expand Up @@ -196,7 +194,6 @@ public function test_get_woocommerce_currencies() {
* @since 2.2
*/
public function test_get_woocommerce_currency_symbol() {

// default currency
$this->assertEquals( '£', get_woocommerce_currency_symbol() );

Expand All @@ -215,7 +212,6 @@ public function test_get_woocommerce_currency_symbol() {
* @since 2.2
*/
public function test_get_woocommerce_api_url() {

$base_uri = get_home_url();

// base uri
Expand Down Expand Up @@ -243,7 +239,6 @@ public function test_wc_get_log_file_path() {
* @since 2.2
*/
public function test_wc_get_core_supported_themes() {

$expected_themes = array( 'twentysixteen', 'twentyfifteen', 'twentyfourteen', 'twentythirteen', 'twentyeleven', 'twentytwelve', 'twentyten' );

$this->assertEquals( $expected_themes, wc_get_core_supported_themes() );
Expand Down Expand Up @@ -285,4 +280,5 @@ public function test_wc_get_shipping_method_count() {
// With legacy methods.
$this->assertEquals( 0, wc_get_shipping_method_count( true ) );
}

}

0 comments on commit c019266

Please sign in to comment.