Commit Graph

13 Commits

Author SHA1 Message Date
kakaska
6dda744064 Fix tests in ItemTest 2019-02-14 19:08:58 +01:00
Pieter Poorthuis
b88a7f6978 Fixed tests, fixed default timezone issues 2018-03-28 12:27:19 +02:00
Paul Daigle/Alex Leitner
19e0eb0061 delete obsolete test 2015-07-31 11:30:51 -04:00
ionux
ccf2fa1cb9 Merge branch 'master' into gh152
fix merge conflicts
2015-07-31 11:05:41 -04:00
Sam Bohler
575d17a186 Fixes #152 - Item::setPrice() now accepts all en_US numeric strings
Changed Item::setPrice's $price parameter to type mixed,
accepting floats, integers, and en_US numeric strings.
Changed Item::price to float
2015-06-22 14:13:13 -04:00
paul
397db094c2 This introduces new steps to check the format of price
check format of price to insure that it "looks like" a float
coerce price to a float
check precision of price against currency
2015-06-17 14:56:20 -04:00
Alexander Leitner
3c6d5e266f Update ItemTest.php 2014-10-02 12:25:24 -04:00
Alex Leitner
78338661ce Changed In the Item class, the property is declared to be of type float. Added more tests for setPrice 2014-10-02 11:25:05 -04:00
Sam Bohler
c15083d309 Replaced full-text licenses with references 2014-09-29 09:16:06 -04:00
Rich Morgan
2504974a58 Added extra null tests 2014-09-19 17:53:46 -04:00
Joshua Estes
8808864cd7 Ran php-cs-fixer on test files 2014-09-18 14:12:24 -04:00
Joshua Estes
c5edfdbee5 Added license to all files 2014-09-12 08:23:29 -04:00
Joshua Estes
0350f05cf0 Initial Commit 2014-09-12 06:44:37 -04:00