Skip to content

Commit

Permalink
use base TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
l0gicgate committed Dec 8, 2020
1 parent e7a8f6a commit 495148c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tests/CacheProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
/**
* Slim Framework (https://www.slimframework.com)
*
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache\Tests;

use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ResponseInterface;
use Slim\HttpCache\CacheProvider;
use Slim\Psr7\Factory\ResponseFactory;
Expand Down
3 changes: 1 addition & 2 deletions tests/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
/**
* Slim Framework (https://www.slimframework.com)
*
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache\Tests;

use PHPUnit\Framework\TestCase;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\RequestHandlerInterface;
Expand Down
16 changes: 16 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* Slim Framework (https://www.slimframework.com)
*
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
*/

declare(strict_types=1);

namespace Slim\HttpCache\Tests;

use PHPUnit\Framework\TestCase as PhpUnitTestCase;

abstract class TestCase extends PhpUnitTestCase
{
}

0 comments on commit 495148c

Please sign in to comment.