File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1515
1616use Ergebnis \DataProvider ;
1717use Ergebnis \PHPUnit \SlowTestDetector \Attribute ;
18- use Ergebnis \PHPUnit \SlowTestDetector \Duration ;
1918use Ergebnis \PHPUnit \SlowTestDetector \Exception ;
2019use Ergebnis \PHPUnit \SlowTestDetector \Test ;
2120use PHPUnit \Framework ;
2221
2322/**
2423 * @covers \Ergebnis\PHPUnit\SlowTestDetector\Attribute\MaximumDuration
2524 *
26- * @uses \Ergebnis\PHPUnit\SlowTestDetector\Duration
2725 * @uses \Ergebnis\PHPUnit\SlowTestDetector\Exception\InvalidMilliseconds
2826 */
2927final class MaximumDurationTest extends Framework \TestCase
@@ -38,7 +36,7 @@ public function testConstructorRejectsInvalidValue(int $milliseconds): void
3836 {
3937 $ this ->expectException (Exception \InvalidMilliseconds::class);
4038
41- Duration:: fromMilliseconds ($ milliseconds );
39+ new Attribute \ MaximumDuration ($ milliseconds );
4240 }
4341
4442 public function testConstructorSetsValue (): void
You can’t perform that action at this time.
0 commit comments