File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Expand file tree Collapse file tree 4 files changed +6
-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 3
3
namespace MongoDB \Tests \Model ;
4
4
5
5
use MongoDB \Model \CachingIterator ;
6
+ use MongoDB \Tests \TestCase ;
6
7
use Exception ;
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 11
11
/**
12
12
* Pedantic tests that have nothing to do with functional correctness.
13
13
*/
14
- class PedantryTest extends \PHPUnit_Framework_TestCase
14
+ class PedantryTest extends TestCase
15
15
{
16
16
/**
17
17
* @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