Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed Sep 2, 2017
1 parent c7bde9d commit b24ca15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"middlewares/utils": "~0.8"
},
"require-dev": {
"phpunit/phpunit": "^5.5",
"phpunit/phpunit": "^5.5 || ^6.0",
"zendframework/zend-diactoros": "^1.3",
"friendsofphp/php-cs-fixer": "^2.0",
"squizlabs/php_codesniffer": "^2.7"
"squizlabs/php_codesniffer": "^3.0"
},
"autoload": {
"psr-4": {
Expand Down
5 changes: 3 additions & 2 deletions tests/CorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

namespace Middlewares\Tests;

use PHPUnit\Framework\TestCase;
use Middlewares\Cors;
use Middlewares\Utils\Dispatcher;
use Middlewares\Utils\Factory;
use Neomerx\Cors\Analyzer;
use Neomerx\Cors\Strategies\Settings;
use Neomerx\Cors\Contracts\Constants\CorsResponseHeaders;

class CorsTest extends \PHPUnit_Framework_TestCase
class CorsTest extends TestCase
{
public function corsProvider()
{
Expand Down Expand Up @@ -70,4 +71,4 @@ public function testCors($url, $statusCode)
$this->assertInstanceOf('Psr\\Http\\Message\\ResponseInterface', $response);
$this->assertEquals($statusCode, $response->getStatusCode());
}
}
}

0 comments on commit b24ca15

Please sign in to comment.