Skip to content

Commit d500ba3

Browse files
committed
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
1 parent 9bbc5bb commit d500ba3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"php": ">=5.3.0"
3030
},
3131
"require-dev": {
32-
"phpunit/phpunit": "^4.8.0"
32+
"phpunit/phpunit": "^4.8.35"
3333
},
3434
"autoload": {
3535
"files": ["api.php"]

tests/TestBase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22
namespace Mevdschee\PhpCrudApi\Tests;
33

4-
abstract class TestBase extends \PHPUnit_Framework_TestCase
4+
use PHPUnit\Framework\TestCase;
5+
6+
abstract class TestBase extends TestCase
57
{
68
public static function setUpBeforeClass()
79
{

0 commit comments

Comments
 (0)