vedanshujain
836d764c67
Add tests
2020-07-01 19:09:07 +05:30
Vedanshu Jain
60ffc7ab99
Merge pull request #26583 from woocommerce/fix/26582
...
Fix regression caused by merging #25092 conflicting with #24828
2020-06-12 15:13:21 +05:30
Claudio Sanches
6afbed0c14
Fixed coding standards
2020-06-01 23:55:17 -03:00
vedanshujain
bbb7600f87
Add unit test for calculation based on rounding pref
2020-05-27 23:55:46 +05:30
vedanshujain
af942a131a
Add test to ensure that verify_base_table also creates table if needed.
2020-05-26 23:46:58 +05:30
vedanshujain
418741a0b2
Add unit test for verify_base_tables function
2020-05-22 18:32:04 +05:30
Christopher Allford
7bf9c31f64
Adjusted the column name normalization to avoid squashing meta key case sensitivity
...
Since we were converting the field to lowercase we ended up inserting meta in all lowercase, regardless of what it was in the CSV file. We should only be using the normalized field name when looking at the default columns, and should instead rely on a case-insensitive regex for the special columns.
One thing to note is that we're still defaulting the $headers array to the normalized field, as we don't want to change what is being passed to the filter for unmapped columns.
2020-05-14 21:20:55 -07:00
Christopher Allford
63ba6f7ee0
Moved the PSR-4 namespaced test directory to the correct folder
...
I know this probably doesn't belong in this PR, but it has been thoroughly discussed and I don't think anyone will mind :)
2020-05-14 21:20:47 -07:00
vedanshujain
27ad4a552e
Rename file and class to resemble PSR4 like convention for consistency.
2020-05-05 19:19:37 +05:30
vedanshujain
f4e169f21e
Moved test specific logic from bootstrap to test file
2020-05-02 00:31:54 +05:30
vedanshujain
13dfb8180f
Add unit test and a sample Woo plugin file
2020-05-01 22:47:08 +05:30
Christopher Allford
04ec11e90b
Added a PSR-4 namespaced tests/php folder for tests written against new code in the src directory
2020-04-28 15:41:04 -07:00