Skip to content

Commit f9da4d5

Browse files
committed
All test classes can extend MongoDB\Tests\TestCase
1 parent 875dc92 commit f9da4d5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tests/Model/CachingIteratorTest.php

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

55
use MongoDB\Model\CachingIterator;
6+
use MongoDB\Tests\TestCase;
67
use Exception;
7-
use PHPUnit\Framework\TestCase;
88

99
class CachingIteratorTest extends TestCase
1010
{

tests/PedantryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace MongoDB\Tests;
44

5-
use PHPUnit\Framework\TestCase as BaseTestCase;
65
use RecursiveDirectoryIterator;
76
use RecursiveIteratorIterator;
87
use ReflectionClass;
@@ -12,7 +11,7 @@
1211
/**
1312
* Pedantic tests that have nothing to do with functional correctness.
1413
*/
15-
class PedantryTest extends BaseTestCase
14+
class PedantryTest extends TestCase
1615
{
1716
/**
1817
* @dataProvider provideProjectClassNames

0 commit comments

Comments
 (0)