New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge REST API into core. #27100
Merge REST API into core. #27100
Commits on May 30, 2019
Commits on Jun 6, 2019
Commits on Jun 7, 2019
Commits on Jun 10, 2019
Commits on Jun 11, 2019
Commits on Jun 12, 2019
Commits on Jun 13, 2019
Commits on Jun 14, 2019
Commits on Jun 15, 2019
Commits on Jun 17, 2019
Commits on Jun 18, 2019
Commits on Jun 19, 2019
Commits on Jun 20, 2019
-
-
Revert "Test version without custom autoloader and allow core to gene…
…rate this after install" This reverts commit 9283910.
-
Commits on Jun 21, 2019
Commits on Jun 24, 2019
Commits on Jun 25, 2019
Commits on Jun 26, 2019
Commits on Jul 8, 2019
Commits on Jul 10, 2019
Commits on Jul 16, 2019
-
Fix: check if DB_NAME is defined before using it
Port of woocommerce/woocommerce-rest-api#3 for v2 and v3
Commits on Dec 6, 2019
-
-
-
Use WP_UnitTestCase::assertWPError() instead of WC_Unit_Test_Case::as…
…sertIsWPError() See woocommerce#24207
-
-
Update class-wc-rest-system-status-v2-controller.php
Added the total post count that is need on the Woocommerce System Status tab.
-
-
-
-
Commits on Jan 15, 2020
-
-
-
-
-
-
-
Simplify and speedup WC_Tests_REST_System_Status tests
This implements two changes to WC_Tests_REST_System_Status test class: - It simplifies the tests by setting the user in the setUp method instead of in each test. - Improves the performance of the tests by creating a new admin user only once when the class is instantiated instead of once for every single test that is executed.
-
-
-
-
-
-
-
Fix unit test suite in the Travis build jobs
This commit fixes a problem in the script that configures the environment to run the unit tests in the Travis build jobs. The script was not running `composer install` in the WooCommerce directory, leaving it installation incomplete and thus the tests were failing. To fix this problem, this commit adds a call to `composer install` right after WooCommerce is downloaded in the setup script (`unit-tests/bin/install.sh`).
-
Remove image after unit tests to make sure they pass on Travis
The test WC_Tests_API_Functions::test_wc_rest_upload_image_from_url_should_download_image_and_return_array() was failing on Travis with the error below due images being kept on accros different tests. To fix this problem, this commit makes sure that every test that creates an image, removes it after the assertions. ``` 1) WC_Tests_API_Functions::test_wc_rest_upload_image_from_url_should_download_image_and_return_array Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( - 'file' => '/tmp/wordpress/wp-content/uploads/2020/01/Dr1Bczxq4q.png' - 'url' => 'http://example.org/wp-content/uploads/2020/01/Dr1Bczxq4q.png' + 'file' => '/tmp/wordpress/wp-content/uploads/2020/01/Dr1Bczxq4q-3.png' + 'url' => 'http://example.org/wp-content/uploads/2020/01/Dr1Bczxq4q-3.png' /home/travis/build/woocommerce/woocommerce-rest-api/unit-tests/Tests/Version3/functions.php:113 ``` (https://travis-ci.org/woocommerce/woocommerce-rest-api/jobs/634921426#L719)
-
-
-
Commits on Jan 24, 2020
Commits on Jan 28, 2020
Commits on May 11, 2020
-
-
-
-
-
-
-
Fix unit tests to match new tested method behavior
This commit updates two unit tests that were failing (https://travis-ci.org/woocommerce/woocommerce-rest-api/jobs/637678251#L707), after the behavior of the method WC_REST_Shipping_Zones_V2_Controller::register_routes() changed in PR woocommerce#104.
-
-
Merge pull request woocommerce#187 from woocommerce/release-1.0.8-prep
Release 1.0.8 prep
Commits on Jun 16, 2020
-
Revert "Also add classmap for v4 to fix fatal on status page in master"
This reverts commit 3e709b92b5375248318c8e221821773de0d8b642.
-
Commits on Jul 22, 2020
-
-
Remove
modified
enum from customer because its not supported.Customers are based on `users` table which does not have a modified or similar column to track last modified timestamp, so this param cannot be supported at this time.
-
-
-
-
Fix
date_expire
andexpiry_date
field schema definitionsCoupon controller for all API versions
-
-
-
Clear Action Scheduler Transients
Currently when Clear Transients action is performed via System Tools, the Action Scheduler Transients are not cleared resulting in incorrect comment counts.
-
-
Add 'tests/legacy/unit-tests/api/' from commit '5335083922d350e73eaf0…
-
-