File tree 7 files changed +8
-8
lines changed
7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 18
18
"symfony/finder" : " ~2.4|~3.0"
19
19
},
20
20
"require-dev" : {
21
- "codeception/base" : " ~2.1 " ,
21
+ "codeception/base" : " ^2.4 " ,
22
22
"codeception/verify" : " ~0.2" ,
23
23
"codeception/specify" : " ~0.3"
24
24
},
Original file line number Diff line number Diff line change 1
1
<?php
2
2
namespace demo ;
3
3
4
- class AccessDemoClassesTest extends \PHPUnit_Framework_TestCase
4
+ class AccessDemoClassesTest extends \PHPUnit \ Framework \TestCase
5
5
{
6
6
public function testUserModel ()
7
7
{
@@ -10,7 +10,7 @@ public function testUserModel()
10
10
}
11
11
12
12
/**
13
- * @expectedException PHPUnit_Framework_AssertionFailedError
13
+ * @expectedException \PHPUnit\Framework\AssertionFailedError
14
14
*/
15
15
public function testUserService ()
16
16
{
Original file line number Diff line number Diff line change 7
7
use AspectMock \Proxy \InstanceProxy ;
8
8
use \AspectMock \Core \Registry as double ;
9
9
10
- class MockFailedTest extends \PHPUnit_Framework_TestCase
10
+ class MockFailedTest extends \PHPUnit \ Framework \TestCase
11
11
{
12
12
13
13
protected function setUp ()
Original file line number Diff line number Diff line change 4
4
use AspectMock \Proxy \ClassProxy ;
5
5
use AspectMock \Proxy \InstanceProxy ;
6
6
7
- class MockTest extends \PHPUnit_Framework_TestCase
7
+ class MockTest extends \PHPUnit \ Framework \TestCase
8
8
{
9
9
use \Codeception \Specify;
10
10
Original file line number Diff line number Diff line change 2
2
namespace demo ;
3
3
use \AspectMock \Core \Registry as double ;
4
4
5
- class StubTest extends \PHPUnit_Framework_TestCase
5
+ class StubTest extends \PHPUnit \ Framework \TestCase
6
6
{
7
7
protected function tearDown ()
8
8
{
Original file line number Diff line number Diff line change 4
4
use AspectMock \Proxy \ClassProxy ;
5
5
use AspectMock \Proxy \InstanceProxy ;
6
6
7
- class VerifierTest extends \PHPUnit_Framework_TestCase
7
+ class VerifierTest extends \PHPUnit \ Framework \TestCase
8
8
{
9
9
use \Codeception \Specify;
10
10
Original file line number Diff line number Diff line change 2
2
use AspectMock \Test as test ;
3
3
use Test \ns1 \TestPhp7Class ;
4
4
5
- class testDoubleTest extends \Codeception \TestCase \ Test
5
+ class testDoubleTest extends \Codeception \Test \Unit
6
6
{
7
7
use Codeception \Specify;
8
8
use demo \WorkingTrait;
You can’t perform that action at this time.
0 commit comments