File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,10 @@ Use Case
133133
134134If you have this kind of time-related tests::
135135
136+ use PHPUnit\Framework\TestCase;
136137 use Symfony\Component\Stopwatch\Stopwatch;
137138
138- class MyTest extends \PHPUnit_Framework_TestCase
139+ class MyTest extends TestCase
139140 {
140141 public function testSomething()
141142 {
@@ -188,12 +189,13 @@ following listener in your PHPUnit configuration:
188189As a result, the following is guaranteed to work and is no longer a transient
189190test::
190191
192+ use PHPUnit\Framework\TestCase;
191193 use Symfony\Component\Stopwatch\Stopwatch;
192194
193195 /**
194196 * @group time-sensitive
195197 */
196- class MyTest extends \PHPUnit_Framework_TestCase
198+ class MyTest extends TestCase
197199 {
198200 public function testSomething()
199201 {
You can’t perform that action at this time.
0 commit comments