Patrick
d25ed27d89
Update CartTest.php
2021-01-18 22:41:35 +01:00
Patrick Henninger
36361474e8
StyleCI
2021-01-18 22:39:28 +01:00
Patrick
80b610b8cb
Update CartTest.php
2021-01-18 22:36:40 +01:00
Patrick
f9f072a13b
Update CartTest.php
2021-01-18 22:33:51 +01:00
Patrick
fa3a606faa
Update CartTest.php
2021-01-18 22:31:33 +01:00
Patrick
ca4674525a
Update CartTest.php
2021-01-18 22:30:53 +01:00
Patrick
6d6399d43f
Update CartTest.php
2021-01-18 22:27:06 +01:00
Patrick
468d456a54
Update CartTest.php
2021-01-18 22:23:24 +01:00
Patrick
7aacf1027b
Update CartTest.php
2021-01-18 22:20:38 +01:00
Patrick
a1d262ab66
Update CartTest.php
2021-01-18 22:17:06 +01:00
Patrick Henninger
e56adefac0
Update CartTest.php
2020-12-27 21:20:02 +01:00
Norris Oduro
7afec5d171
Style CI fixes
2020-11-15 06:47:38 +00:00
Norris Oduro
369bdb95f3
Add more tests
2020-11-15 06:46:12 +00:00
Norris Oduro
87acd5cfb2
rename the storedCartWithIdentifier method to storedCartInstanceWithIdentifierExists, changed the signature of the merge and storedCartInstanceWithIdentifierExists methods and add instance to all stored cart retrievals
2020-11-15 05:55:29 +00:00
Norris Oduro
6460326b1a
Style CI fixes and remove assertDatabaseCount
2020-11-03 14:03:13 +00:00
Norris Oduro
6ba97cafa8
Use instance in query if there are more than one instances and add tests
2020-11-03 13:55:43 +00:00
Patrick Henninger
238d8cf7d9
Refactor gross price / default into calculators,
...
Remove gross_price from config replaced with calculator
2020-08-29 16:18:05 +02:00
Patrick Henninger
8ee9bad739
Improve test,
...
Fix updatedAt(),
2020-05-08 21:17:10 +02:00
Patrick Henninger
53b8015c1f
StyleCI
2020-05-08 21:00:41 +02:00
Patrick Henninger
05b99d4e72
Make getters public,
...
Add Test
2020-05-08 20:58:58 +02:00
Patrick Henninger
008b6f42de
SyleCI
2020-02-18 14:55:20 +01:00
sartoric
2078f119ec
Enable gross price as base price
2020-02-12 22:42:41 +01:00
Patrick Henninger
7b29fe376d
StyleCI
2020-01-18 17:29:06 +01:00
sartoric
9cdacf901c
changed the strategy for cart values calculation (taxes per row),
...
test,
some fixes
2020-01-14 22:33:12 +01:00
sartoric
1ffd1a5dfa
test added
2020-01-10 01:54:45 +01:00
Patrick
b8005be37a
Update CartTest.php
2019-11-19 01:40:05 +01:00
sartoric
1341863d65
Dispatch "cart.merged" event,added a parameter to avoid dispatching "cart.added" events while merging
2019-11-18 10:34:23 +01:00
Andrew Savchenko
e4e9a6ec6e
Add a test case to assert items sequence is kept if the options changed
2019-11-02 14:29:54 +01:00
Patrick Henninger
14e8a40534
Changed $taxRate from private to public, Solve https://github.com/Crinsane/LaravelShoppingcart/issues/436
2019-09-27 19:00:10 +02:00
Patrick
d78b555aa1
Update CartTest.php
...
Codestyle
2019-06-26 15:38:40 +02:00
Patrick
a464a240e8
Update CartTest.php
...
Added Test for CartItem.php invalid weight exception.
2019-06-26 15:36:53 +02:00
Patrick Henninger
f4673140f7
Codestyle
2019-04-16 12:12:11 +02:00
Patrick Henninger
279e820760
Fixed weight integration, added testcase, fixed weird readme code example
2019-04-16 12:10:06 +02:00
Patrick Henninger
c0cc008c85
Codestyle
...
Update version in readme
2019-03-01 15:03:24 +01:00
Patrick Henninger
1499475663
Replaced deprecated OR operator https://getcomposer.org/doc/articles/versions.md#version-range
...
Added 5.8.* compatibility
Updated dependency versions
Added phpunit result cache to gitignore
2019-03-01 14:59:44 +01:00
Patrick Henninger
1e96466ee4
Added test to ensure everything is ok
...
https://github.com/Crinsane/LaravelShoppingcart/issues/544
2019-01-21 17:22:05 +01:00
Patrick Henninger
7436422b01
Codestyle
2019-01-14 18:18:21 +01:00
Patrick Henninger
d9d28ef8e3
Added test for model using trait
...
Added readme for CanBeBoughtTrait
https://github.com/Crinsane/LaravelShoppingcart/issues/427
2019-01-14 17:26:24 +01:00
Patrick Henninger
59eadb74a1
Removed Cart facade from coverage (does not provide a public inteterface)
...
Exclude migrations from coverage
Added tests for InstanceIdentifier
Added InstanceIdentifier support to store, restore and merge
Added weight to CanBeBought trait
Excluded CanBeBought trait from coverage temporarily
2019-01-09 14:08:09 +01:00
Patrick Henninger
70073ccb92
manuall readded reverted changes
2019-01-09 13:06:16 +01:00
Patrick Henninger
55f1c4617f
Revert "Manually merged https://github.com/Crinsane/LaravelShoppingcart/pull/502 "
...
This reverts commit 5d117a0acd .
2019-01-09 12:22:25 +01:00
Patrick Henninger
5d117a0acd
Manually merged https://github.com/Crinsane/LaravelShoppingcart/pull/502
...
Added more tests
2019-01-08 20:00:28 +01:00
Patrick Henninger
debfeffdb2
Fixed Logout event in test for 5.1->5.7
2019-01-08 02:50:30 +01:00
Patrick Henninger
423e2b7c3f
Restructuring
...
Added codecov
2018-12-28 17:00:55 +01:00
Patrick Henninger
1190d72b52
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/350
...
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/349
Add changes from https://github.com/Crinsane/LaravelShoppingcart/pull/478
2018-12-28 03:50:42 +01:00
Patrick Henninger
4cfd3e99b0
Added Cart merge functionality
...
Added Readme for merge
2018-12-28 03:16:29 +01:00
Patrick Henninger
3ebe09f6ab
Renamed migration file
...
Fixed migration being published multiple times
Added more tests
Fixed setGlobalTax and setGlobalDiscount
2018-12-23 23:24:05 +01:00
Patrick Henninger
9fbc9cd927
Remove type from parameter
2018-12-21 18:48:26 +01:00
Patrick Henninger
d947fe8a57
minor additions
2018-12-21 16:56:54 +01:00
Patrick Henninger
9e4c6c4a71
Adjusted calcualtion tests need specific discount tests
2018-12-21 15:52:00 +01:00