Fix assigment order issues

This commit is contained in:
Almira Krdzic
2018-12-02 22:18:09 +01:00
parent 3dbdb657c9
commit e87d1521dd
23 changed files with 873 additions and 256 deletions

View File

@@ -16,10 +16,10 @@ class Wiaas_Package_Addon_Test extends Wiaas_Unit_Test_Case {
* @covers Wiaas_Package_Addon::get_package_addons()
*/
function test_adding_package_addons() {
$package = $this->create_new_package();
$package = $this->factory->product->create_product_bundle();
$addon1 = $this->create_new_package();
$addon2 = $this->create_new_package();
$addon1 = $this->factory->product->create_product_bundle();
$addon2 = $this->factory->product->create_product_bundle();
$addons_ids = array(
$addon1->get_id(),
$addon2->get_id()