Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ language: php

php:
- 7.2

sudo: false
- 7.3

cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpunit/phpunit": "^5.7",
"phpunit/phpunit": "^8.0",
"phpspec/phpspec": "^5.0",
"symfony/yaml": "^4.2",
"donatj/mock-webserver": "^2.0",
Expand Down
6 changes: 6 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,10 @@
<testsuite>
<directory>tests/</directory>
</testsuite>

<filter>
<whitelist>
<directory suffix=".php">src</directory>
</whitelist>
</filter>
</phpunit>
3 changes: 2 additions & 1 deletion tests/Api/ApiTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
use donatj\MockWebServer\MockWebServer;
use donatj\MockWebServer\Response;
use donatj\MockWebServer\ResponseStack;
use PHPUnit\Framework\TestCase;

/**
* @author Laurent Petard <laurent.petard@akeneo.com>
* @copyright 2017 Akeneo SAS (http://www.akeneo.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
abstract class ApiTestCase extends \PHPUnit_Framework_TestCase
abstract class ApiTestCase extends TestCase
{
/** @var MockWebServer */
protected $server;
Expand Down