diff --git a/src/Adjustments/Tests/Unit/AdjustmentTest.php b/src/Adjustments/Tests/Unit/AdjustmentTest.php index ea3da239..35c4d155 100644 --- a/src/Adjustments/Tests/Unit/AdjustmentTest.php +++ b/src/Adjustments/Tests/Unit/AdjustmentTest.php @@ -301,20 +301,4 @@ public function it_is_a_credit_if_it_decreases_the_total() $this->assertEquals(-20, $adjustment->getAmount()); $this->assertTrue($adjustment->isCredit()); } - - /** @test */ - public function it_is_neutral_if_the_amount_is_zero() - { - $adjustment = Adjustment::create([ - 'type' => AdjustmentType::SHIPPING, - 'adjustable_type' => 'order', - 'adjustable_id' => 1, - 'adjuster' => 'fixed_amount', - 'title' => 'Promotion', - 'amount' => 0, - ]); - - $this->assertEquals(0, $adjustment->getAmount()); - $this->assertTrue($adjustment->isNeutral()); - } }