Skip to content

Commit

Permalink
For higher version of phpunit such as 6.4 You must use the namespace …
Browse files Browse the repository at this point in the history
…PHPUnit\Framework\TestCase use TestCase instead PHPUnit_Framework_TestCase

For higher version of phpunit such as 6.4 You must use the namespace PHPUnit\Framework\TestCase

use TestCase instead PHPUnit_Framework_TestCase
  • Loading branch information
EcoinTest committed Sep 18, 2019
1 parent 454c9bb commit bd42f26
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 3 deletions.
Binary file added .phpintel/0801aefb29f7a71858a2a21c12889638
Binary file not shown.
Binary file modified .phpintel/dc5064f39c91477a8d52fa1b186d34c0
Binary file not shown.
Binary file added .phpintel/f0e44c065f1f78f17cd4120a17252801
Binary file not shown.
Binary file modified .phpintel/index
Binary file not shown.
3 changes: 2 additions & 1 deletion tests/CloneableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@
// Deps
use Bkwld\Cloner\Stubs\Article;
use Mockery as m;
use PHPUnit\Framework\TestCase;

/**
* Test the trait
*/
class CloneableTest extends PHPUnit_Framework_TestCase {
class CloneableTest extends TestCase {

public function testDuplicate() {

Expand Down
4 changes: 3 additions & 1 deletion tests/FunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
use League\Flysystem\MountManager;
use Mockery as m;
use VirtualFileSystem\FileSystem as Vfs;
use PHPUnit\Framework\TestCase;

class FunctionalTest extends PHPUnit_Framework_TestCase {

class FunctionalTest extends TestCase {

private $article;

Expand Down
4 changes: 3 additions & 1 deletion tests/ServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
// Deps
use Bkwld\Cloner\ServiceProvider;
use Mockery as m;
use PHPUnit\Framework\TestCase;

class ServiceProviderTest extends PHPUnit_Framework_TestCase {

class ServiceProviderTest extends TestCase {

function testProvides() {
$app = m::mock('Illuminate\Foundation\Application');
Expand Down

0 comments on commit bd42f26

Please sign in to comment.