Skip to content

Commit

Permalink
Use PHPUnit\Framework\TestCase
Browse files Browse the repository at this point in the history
  • Loading branch information
twistor committed Jun 5, 2018
1 parent c46e28b commit 60d73d9
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 12 deletions.
3 changes: 0 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<listeners>
<listener class="Mockery\Adapter\Phpunit\TestListener" file="./vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php"></listener>
</listeners>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
<log type="coverage-html" target="coverage" showUncoveredFiles="true"/>
Expand Down
3 changes: 2 additions & 1 deletion tests/AdapterCacheTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Adapter;
use PHPUnit\Framework\TestCase;

class AdapterCacheTests extends PHPUnit_Framework_TestCase
class AdapterCacheTests extends TestCase
{
public function testLoadFail()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/InspectionTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\CachedAdapter;
use PHPUnit\Framework\TestCase;

class InspectionTests extends PHPUnit_Framework_TestCase {
class InspectionTests extends TestCase {

public function testGetAdapter()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/MemcachedTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Memcached;
use PHPUnit\Framework\TestCase;

class MemcachedTests extends PHPUnit_Framework_TestCase
class MemcachedTests extends TestCase
{
public function testLoadFail()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/MemoryCacheTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

use League\Flysystem\Cached\Storage\Memory;
use League\Flysystem\Util;
use PHPUnit\Framework\TestCase;

class MemoryCacheTests extends PHPUnit_Framework_TestCase
class MemoryCacheTests extends TestCase
{
public function testAutosave()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/NoopCacheTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Noop;
use PHPUnit\Framework\TestCase;

class NoopCacheTests extends PHPUnit_Framework_TestCase
class NoopCacheTests extends TestCase
{
public function testNoop()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PhpRedisTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\PhpRedis;
use PHPUnit\Framework\TestCase;

class PhpRedisTests extends PHPUnit_Framework_TestCase
class PhpRedisTests extends TestCase
{
public function testLoadFail()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/PredisTests.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Predis;
use PHPUnit\Framework\TestCase;

class PredisTests extends PHPUnit_Framework_TestCase
class PredisTests extends TestCase
{
public function testLoadFail()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/Psr6CacheTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Psr6Cache;
use PHPUnit\Framework\TestCase;

class Psr6CacheTests extends PHPUnit_Framework_TestCase
class Psr6CacheTests extends TestCase
{
public function testLoadFail()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/StashTest.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<?php

use League\Flysystem\Cached\Storage\Stash;
use PHPUnit\Framework\TestCase;

class StashTests extends PHPUnit_Framework_TestCase
class StashTests extends TestCase
{
public function testLoadFail()
{
Expand Down

0 comments on commit 60d73d9

Please sign in to comment.