Skip to content

Commit b16290e

Browse files
oliverkleemichield
authored andcommitted
[TASK] Update to PHPUnit 6 (#48)
1 parent f71073b commit b16290e

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"psr/log": "1.0.0"
2727
},
2828
"require-dev": {
29-
"phpunit/phpunit": "3.7.*",
29+
"phpunit/phpunit": "^6.1",
3030
"squizlabs/php_codesniffer": "^2.6"
3131
},
3232
"autoload": {

core/tests/EmailUtilTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
namespace phpList\test;
33

44
use phpList\EmailUtil;
5+
use PHPUnit\Framework\TestCase;
56

6-
class EmailUtilTest extends \PHPUnit_Framework_TestCase
7+
class EmailUtilTest extends TestCase
78
{
89
public function setUp()
910
{

core/tests/PassTest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
<?php
22
namespace phpList\test;
33

4-
use phpList\Pass;
5-
6-
// Symfony namespaces
4+
use PHPUnit\Framework\TestCase;
75
use Symfony\Component\Config\FileLocator;
86
use Symfony\Component\DependencyInjection\ContainerBuilder;
97
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
108

11-
class PassTest extends \PHPUnit_Framework_TestCase
9+
class PassTest extends TestCase
1210
{
1311
public function setUp()
1412
{

0 commit comments

Comments
 (0)