Skip to content

Commit 495148c

Browse files
committed
use base TestCase
1 parent e7a8f6a commit 495148c

File tree

3 files changed

+18
-4
lines changed

3 files changed

+18
-4
lines changed

tests/CacheProviderTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,14 @@
22
/**
33
* Slim Framework (https://www.slimframework.com)
44
*
5-
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66
*/
77

88
declare(strict_types=1);
99

1010
namespace Slim\HttpCache\Tests;
1111

1212
use InvalidArgumentException;
13-
use PHPUnit\Framework\TestCase;
1413
use Psr\Http\Message\ResponseInterface;
1514
use Slim\HttpCache\CacheProvider;
1615
use Slim\Psr7\Factory\ResponseFactory;

tests/CacheTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
/**
33
* Slim Framework (https://www.slimframework.com)
44
*
5-
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
5+
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
66
*/
77

88
declare(strict_types=1);
99

1010
namespace Slim\HttpCache\Tests;
1111

12-
use PHPUnit\Framework\TestCase;
1312
use Psr\Http\Message\ResponseInterface;
1413
use Psr\Http\Message\ServerRequestInterface;
1514
use Psr\Http\Server\RequestHandlerInterface;

tests/TestCase.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
/**
3+
* Slim Framework (https://www.slimframework.com)
4+
*
5+
* @license https://github.com/slimphp/Slim-HttpCache/blob/master/LICENSE.md (MIT License)
6+
*/
7+
8+
declare(strict_types=1);
9+
10+
namespace Slim\HttpCache\Tests;
11+
12+
use PHPUnit\Framework\TestCase as PhpUnitTestCase;
13+
14+
abstract class TestCase extends PhpUnitTestCase
15+
{
16+
}

0 commit comments

Comments
 (0)