fix subtotal always being used

This commit is contained in:
Joel Male
2024-09-23 07:45:59 +10:00
parent 472d505041
commit 5505f121c7
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1310,7 +1310,7 @@
// now we should have only 1 condition left on that item
expect($this->cart->get(1)['conditions'])->toHaveCount(1, 'Item should have one condition left');
expect($this->cart->get(1)['conditions'][0]->getName())->toEqual('Mother\'s Day Gift Pack');
expect($this->cart->get(1)['conditions'][1]->getName())->toEqual('Mother\'s Day Gift Pack');
});
test('can add item with multiple negative item conditions', function () {