Commit Graph

124 Commits

Author SHA1 Message Date
shivapoudel b207391041 Unit Test docblock comment for setUp 2015-02-04 22:03:01 +05:45
Claudio Sanches b3cf6435b9 Merge pull request #6927 from purcebr/master
Unit Tests for WC_Customer class
2015-01-05 14:50:54 -02:00
Mike Jolley 8df8c9b482 Make 'public', and rewrite, optional for attributes
#6852
2014-12-22 14:16:15 +00:00
Bryan Purcell bc9821253f Refactoring and fixing bugs in WC_Customer Unit Tests 2014-12-10 23:54:06 -06:00
Bryan Purcell 0213fcce85 Refactoring, resetting settings after test.
Testing multiple combinations of store default shipping methods, moving
helper methods to a unit test Helper Class.
2014-12-10 17:02:43 -06:00
Mike Jolley 549d7ab2c0 Removed 'apply before tax' options for coupons - this should be the default core behaviour 2014-11-24 17:24:25 +00:00
claudiosmweb 956f003175 Unit Tests: Created initial shipping tests and added shipping value for coupon tests 2014-10-30 17:58:19 -02:00
claudiosmweb 8faf3ec85a Unit Tests: Created test_fixed_product_discount and test_percent_product_discount methods 2014-10-30 16:22:14 -02:00
claudiosmweb 720ef008d7 Unit Tests: Created WC_Helper_Fee class and WC_Tests_Cart::test_cart_fee method 2014-10-30 16:08:33 -02:00
Barry Kooij 4a6b880a41 Unit Tests: updated product class doc. 2014-10-28 11:53:36 +01:00
Barry Kooij e2df8e9b87 Coupon helper. 2014-10-28 11:51:46 +01:00
Barry Kooij e5d418305d Unit Tests: Added assertIsWPError to WC unit test framework 2014-10-24 21:26:26 +02:00
Barry Kooij 6960138876 Unit Tests: force delete on cleanup 2014-10-24 21:14:19 +02:00
Barry Kooij eabb8eb712 Unit Tests: product helper codestyle 2014-10-24 15:36:29 +02:00
Barry Kooij f88fe50ab4 Unit Test: Added delete_product helper method. 2014-10-24 15:36:13 +02:00
Barry Kooij da45bdac12 Unit Testing: Added a product helper class. 2014-10-22 00:26:04 +02:00
Max Rice b06e1982c9 Register post types before each unit test
Fixes #6501

see
https://core.trac.wordpress.org/changeset/29860/trunk/tests/phpunit/incl
udes/testcase.php, apparently we were #doingitwrong  🙈
2014-10-09 15:24:37 -04:00
Max Rice 8a6097be79 Fix typo 2014-09-05 19:36:43 -04:00
Max Rice ac5076ad8e Fix failing tests in PHP 5.2 2014-09-05 19:21:31 -04:00
Max Rice 0fbba35c9d Add factory for webhook unit tests 2014-09-05 14:34:51 -04:00
Max Rice 0e4a4ef787 Add unit tests for notice functions 2014-09-05 02:36:46 -04:00
Max Rice 02adbfa110 Unit Tests: add mock session handler 2014-09-05 02:35:53 -04:00
Max Rice 50253bc8b6 [#3176] Use shop manager role for API tests 2014-09-01 16:11:08 -04:00
Max Rice 27f378bf4e [#3176] Add unit test framework 2014-09-01 02:04:02 -04:00