Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
Migrate to PHPUnit 6
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasliubinas committed May 14, 2017
1 parent 6e42377 commit b756fc7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/Swiftlet/tests/AppTest.php
Expand Up @@ -5,8 +5,9 @@
require_once 'vendor/autoload.php';

use \Mock\Controllers\Index as IndexController;
use \PHPUnit\Framework\TestCase;

class AppTest extends \PHPUnit_Framework_TestCase
class AppTest extends TestCase
{
protected $app;

Expand Down
3 changes: 2 additions & 1 deletion src/Swiftlet/tests/ControllerTest.php
Expand Up @@ -5,8 +5,9 @@
require_once 'vendor/autoload.php';

use \Mock\Controllers\Index as IndexController;
use \PHPUnit\Framework\TestCase;

class ControllerTest extends \PHPUnit_Framework_TestCase
class ControllerTest extends TestCase
{
protected $controller;

Expand Down
3 changes: 2 additions & 1 deletion src/Swiftlet/tests/LibraryTest.php
Expand Up @@ -5,8 +5,9 @@
require_once 'vendor/autoload.php';

use \Mock\Libraries\Mock as MockLibrary;
use \PHPUnit\Framework\TestCase;

class LibraryTest extends \PHPUnit_Framework_TestCase
class LibraryTest extends TestCase
{
protected $library;

Expand Down
4 changes: 3 additions & 1 deletion src/Swiftlet/tests/ListenerTest.php
Expand Up @@ -2,9 +2,11 @@

namespace Mock;

use \PHPUnit\Framework\TestCase;

require_once 'vendor/autoload.php';

class ListenerTest extends \PHPUnit_Framework_TestCase
class ListenerTest extends TestCase
{
protected $listener;

Expand Down
4 changes: 3 additions & 1 deletion src/Swiftlet/tests/ViewTest.php
Expand Up @@ -2,9 +2,11 @@

namespace Swiftlet;

use \PHPUnit\Framework\TestCase;

require_once 'vendor/autoload.php';

class ViewTest extends \PHPUnit_Framework_TestCase
class ViewTest extends TestCase
{
protected $view;

Expand Down

0 comments on commit b756fc7

Please sign in to comment.