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 15
15
16
16
use Ergebnis \DataProvider ;
17
17
use Ergebnis \PHPUnit \SlowTestDetector \Attribute ;
18
- use Ergebnis \PHPUnit \SlowTestDetector \Duration ;
19
18
use Ergebnis \PHPUnit \SlowTestDetector \Exception ;
20
19
use Ergebnis \PHPUnit \SlowTestDetector \Test ;
21
20
use PHPUnit \Framework ;
22
21
23
22
/**
24
23
* @covers \Ergebnis\PHPUnit\SlowTestDetector\Attribute\MaximumDuration
25
24
*
26
- * @uses \Ergebnis\PHPUnit\SlowTestDetector\Duration
27
25
* @uses \Ergebnis\PHPUnit\SlowTestDetector\Exception\InvalidMilliseconds
28
26
*/
29
27
final class MaximumDurationTest extends Framework \TestCase
@@ -38,7 +36,7 @@ public function testConstructorRejectsInvalidValue(int $milliseconds): void
38
36
{
39
37
$ this ->expectException (Exception \InvalidMilliseconds::class);
40
38
41
- Duration:: fromMilliseconds ($ milliseconds );
39
+ new Attribute \ MaximumDuration ($ milliseconds );
42
40
}
43
41
44
42
public function testConstructorSetsValue (): void
You can’t perform that action at this time.
0 commit comments