Skip to content

Commit 7aa7cb1

Browse files
committed
upgraded tests
1 parent 8b03825 commit 7aa7cb1

7 files changed

+8
-8
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"symfony/finder": "~2.4|~3.0"
1919
},
2020
"require-dev": {
21-
"codeception/base": "~2.1",
21+
"codeception/base": "^2.4",
2222
"codeception/verify": "~0.2",
2323
"codeception/specify": "~0.3"
2424
},

tests/unit/AccessDemoClassesTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace demo;
33

4-
class AccessDemoClassesTest extends \PHPUnit_Framework_TestCase
4+
class AccessDemoClassesTest extends \PHPUnit\Framework\TestCase
55
{
66
public function testUserModel()
77
{
@@ -10,7 +10,7 @@ public function testUserModel()
1010
}
1111

1212
/**
13-
* @expectedException PHPUnit_Framework_AssertionFailedError
13+
* @expectedException \PHPUnit\Framework\AssertionFailedError
1414
*/
1515
public function testUserService()
1616
{

tests/unit/MockFailedTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use AspectMock\Proxy\InstanceProxy;
88
use \AspectMock\Core\Registry as double;
99

10-
class MockFailedTest extends \PHPUnit_Framework_TestCase
10+
class MockFailedTest extends \PHPUnit\Framework\TestCase
1111
{
1212

1313
protected function setUp()

tests/unit/MockTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use AspectMock\Proxy\ClassProxy;
55
use AspectMock\Proxy\InstanceProxy;
66

7-
class MockTest extends \PHPUnit_Framework_TestCase
7+
class MockTest extends \PHPUnit\Framework\TestCase
88
{
99
use \Codeception\Specify;
1010

tests/unit/StubTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
namespace demo;
33
use \AspectMock\Core\Registry as double;
44

5-
class StubTest extends \PHPUnit_Framework_TestCase
5+
class StubTest extends \PHPUnit\Framework\TestCase
66
{
77
protected function tearDown()
88
{

tests/unit/VerifierTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use AspectMock\Proxy\ClassProxy;
55
use AspectMock\Proxy\InstanceProxy;
66

7-
class VerifierTest extends \PHPUnit_Framework_TestCase
7+
class VerifierTest extends \PHPUnit\Framework\TestCase
88
{
99
use \Codeception\Specify;
1010

tests/unit/testDoubleTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
use AspectMock\Test as test;
33
use Test\ns1\TestPhp7Class;
44

5-
class testDoubleTest extends \Codeception\TestCase\Test
5+
class testDoubleTest extends \Codeception\Test\Unit
66
{
77
use Codeception\Specify;
88
use demo\WorkingTrait;

0 commit comments

Comments
 (0)