Skip to content

Commit

Permalink
Apply fixes from StyleCI (#191)
Browse files Browse the repository at this point in the history
[ci skip] [skip ci]
  • Loading branch information
lukepolo authored May 3, 2017
1 parent f3f57d5 commit 23e023c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/config/laracart.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
],
],


/*
|--------------------------------------------------------------------------
| The default item relations to the item_model
Expand Down
4 changes: 2 additions & 2 deletions tests/CouponsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public function testSetDiscountOnItem()
}

/**
* Test cart percentage coupon when items are not taxable
* Test cart percentage coupon when items are not taxable.
*/
public function testCouponsNotTaxableItem()
{
Expand All @@ -251,7 +251,7 @@ public function testCouponsNotTaxableItem()
}

/**
* Test cart percentage coupon when items are taxable
* Test cart percentage coupon when items are taxable.
*/
public function testCouponsTaxableItem()
{
Expand Down
3 changes: 1 addition & 2 deletions tests/FeesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ private function addFeeTax($name, $fee = 100, $tax = 0.21)
$fee,
true,
[
'tax' => $tax
'tax' => $tax,
]
);
}
Expand Down Expand Up @@ -66,7 +66,6 @@ public function testAddFeeTax()

$this->assertEquals(100, $fee->getAmount(false, false));
$this->assertEquals(121, $fee->getAmount(false, true));

}

/**
Expand Down
1 change: 0 additions & 1 deletion tests/TotalsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ public function testTaxableItems()
$this->addItem();
$item = $this->addItem(1, 2, false);


// only 1 dollar is taxable!
$this->assertEquals('3.07', $this->laracart->total(false));

Expand Down

0 comments on commit 23e023c

Please sign in to comment.