Skip to content

Commit d4583a9

Browse files
committed
Merge pull request #429
2 parents 3034a38 + f9da4d5 commit d4583a9

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"ext-mongodb": "^1.3.0"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "^4.8"
19+
"phpunit/phpunit": "^4.8.36"
2020
},
2121
"autoload": {
2222
"psr-4": { "MongoDB\\": "src/" },

tests/Model/CachingIteratorTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
namespace MongoDB\Tests\Model;
44

55
use MongoDB\Model\CachingIterator;
6+
use MongoDB\Tests\TestCase;
67
use Exception;
78

8-
class CachingIteratorTest extends \PHPUnit_Framework_TestCase
9+
class CachingIteratorTest extends TestCase
910
{
1011
/**
1112
* Sanity check for all following tests.

tests/PedantryTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Pedantic tests that have nothing to do with functional correctness.
1313
*/
14-
class PedantryTest extends \PHPUnit_Framework_TestCase
14+
class PedantryTest extends TestCase
1515
{
1616
/**
1717
* @dataProvider provideProjectClassNames

tests/TestCase.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
use MongoDB\Driver\ReadConcern;
66
use MongoDB\Driver\ReadPreference;
77
use MongoDB\Driver\WriteConcern;
8+
use PHPUnit\Framework\TestCase as BaseTestCase;
89
use ReflectionClass;
910
use stdClass;
1011

11-
abstract class TestCase extends \PHPUnit_Framework_TestCase
12+
abstract class TestCase extends BaseTestCase
1213
{
1314
public function provideInvalidDocumentValues()
1415
{

0 commit comments

Comments
 (0)