Skip to content
Permalink
Browse files

Add wp-http-testcase directly to the repository

This commit adds the composer package jdgrimes/wp-http-testcase directly to this repository instead of via composer. Doing this because I couldn't find a way to make this package work on Travis build jobs running older versions of PHP and I don't think it is worth investing much time on it.
  • Loading branch information...
rodrigoprimo committed Jul 18, 2018
1 parent 0e785d4 commit 34ec2e87c07c8655a544f6157f95a05f9b37319f
Showing with 444 additions and 43 deletions.
  1. +1 −2 composer.json
  2. +2 −41 composer.lock
  3. +1 −0 tests/bootstrap.php
  4. +440 −0 tests/includes/wp-http-testcase.php
@@ -18,8 +18,7 @@
"wimg/php-compatibility": "^8.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"apigen/apigen": "^4",
"nette/utils": "~2.3.0",
"jdgrimes/wp-http-testcase": "^1.3"
"nette/utils": "~2.3.0"
},
"scripts": {
"pre-update-cmd": [

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -113,6 +113,7 @@ public function includes() {
require_once $this->tests_dir . '/framework/class-wc-unit-test-case.php';
require_once $this->tests_dir . '/framework/class-wc-api-unit-test-case.php';
require_once $this->tests_dir . '/framework/class-wc-rest-unit-test-case.php';
require_once $this->tests_dir . '/includes/wp-http-testcase.php';
// Helpers
require_once $this->tests_dir . '/framework/helpers/class-wc-helper-product.php';
Oops, something went wrong.

0 comments on commit 34ec2e8

Please sign in to comment.
You can’t perform that action at this time.