Mike Jolley
83857de24d
Fix tax label test
2016-05-16 12:00:03 +01:00
Mike Jolley
57ec0246d5
$ unit test
2016-05-16 11:38:22 +01:00
Mike Jolley
87e9ccd343
Fixed wc_price unit test
2016-05-16 11:14:31 +01:00
Mike Jolley
2fec0f425a
Remove namespaces from tests for 5.2 support
2016-03-23 12:14:13 +00:00
Mike Jolley
a6cdabff7e
[2.5] Multibyte safe trim string
...
Fixes #10378
2016-02-23 11:40:16 +00:00
Joey Kudish
ece376bac1
weight/dim normalization: allow custom from unit
...
Add a third optional parameter to the weight and dimension normalization
functions in order to be able to specify a specific "from unit" instead
of using the site option. This allows arbitrary conversions between
different units of measure; which is particularly useful for extensions
that need to perform arbitrary unit conversions (e.g. shipping extension
that specifies custom box formats).
Also includes updated tests.
2016-01-12 22:48:56 -08:00
Claudio Sanches
ee30b5b308
Fixed php docs standards
2015-11-03 11:31:20 -02:00
Claudio Sanches
d5c5d5e394
Fixed unit tests for wc_get_price_thousand_separator() and wc_get_price_decimal_separator()
2015-06-01 11:03:19 -03:00
Claudio Sanches
9826273f8f
Merge pull request #7910 from SiR-DanieL/unit-tests
...
More unit tests
2015-05-28 10:27:10 -03:00
Claudio Sanches
ef8c3dd267
Fixed testes for wc_price()
2015-05-27 13:26:26 -03:00
Nicola Mustone
d4ff494a3f
test wc_get_price_decimals, wc_get_price_decimal_separator, wc_get_price_thousand_separator
2015-04-09 17:35:35 +02:00
Nicola Mustone
58f86eddf9
test wc_sanitize_tooltip
2015-04-09 17:24:58 +02:00
Claudio Sanches
b697a714a7
Fixed the testes for wc_get_weight()
2015-03-11 14:23:47 -03:00
Barry Kooij
d6b970a61d
Namespace the Unit Tests
2015-03-06 16:32:40 +01:00