Keep public method around
This commit is contained in:
parent
82c282e83a
commit
b4bfe6303f
|
@ -65,6 +65,11 @@ final class WC_Cart_Fees {
|
|||
$this->cart = $cart;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register methods for this object on the appropriate WordPress hooks.
|
||||
*/
|
||||
public function init() {}
|
||||
|
||||
/**
|
||||
* Add a fee. Fee IDs must be unique.
|
||||
*
|
||||
|
|
|
@ -15,7 +15,6 @@ class WC_Tests_WC_Cart_Fees extends WC_Unit_Test_Case {
|
|||
public function test_set_get_remove_fees() {
|
||||
|
||||
$cart_fees = new WC_Cart_Fees( wc()->cart );
|
||||
$cart_fees->init();
|
||||
|
||||
// Test add_fee.
|
||||
$args = array(
|
||||
|
|
Loading…
Reference in New Issue