File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 16
16
"ext-mongodb" : " ^1.3.0"
17
17
},
18
18
"require-dev" : {
19
- "phpunit/phpunit" : " ^4.8"
19
+ "phpunit/phpunit" : " ^4.8.36 "
20
20
},
21
21
"autoload" : {
22
22
"psr-4" : { "MongoDB\\ " : " src/" },
Original file line number Diff line number Diff line change 4
4
5
5
use MongoDB \Model \CachingIterator ;
6
6
use Exception ;
7
+ use PHPUnit \Framework \TestCase ;
7
8
8
- class CachingIteratorTest extends \PHPUnit_Framework_TestCase
9
+ class CachingIteratorTest extends TestCase
9
10
{
10
11
/**
11
12
* Sanity check for all following tests.
Original file line number Diff line number Diff line change 2
2
3
3
namespace MongoDB \Tests ;
4
4
5
+ use PHPUnit \Framework \TestCase as BaseTestCase ;
5
6
use RecursiveDirectoryIterator ;
6
7
use RecursiveIteratorIterator ;
7
8
use ReflectionClass ;
11
12
/**
12
13
* Pedantic tests that have nothing to do with functional correctness.
13
14
*/
14
- class PedantryTest extends \PHPUnit_Framework_TestCase
15
+ class PedantryTest extends BaseTestCase
15
16
{
16
17
/**
17
18
* @dataProvider provideProjectClassNames
Original file line number Diff line number Diff line change 5
5
use MongoDB \Driver \ReadConcern ;
6
6
use MongoDB \Driver \ReadPreference ;
7
7
use MongoDB \Driver \WriteConcern ;
8
+ use PHPUnit \Framework \TestCase as BaseTestCase ;
8
9
use ReflectionClass ;
9
10
use stdClass ;
10
11
11
- abstract class TestCase extends \PHPUnit_Framework_TestCase
12
+ abstract class TestCase extends BaseTestCase
12
13
{
13
14
public function provideInvalidDocumentValues ()
14
15
{
You can’t perform that action at this time.
0 commit comments