Skip to content

Commit c204649

Browse files
committed
Fix SettableClock coverage
1 parent 3af59fc commit c204649

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Clock/SettableClockTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
namespace Recruiter\Clock;
66

77
use PHPUnit\Framework\Attributes\CoversClass;
8+
use PHPUnit\Framework\Attributes\UsesClass;
89
use PHPUnit\Framework\MockObject\Exception;
910
use PHPUnit\Framework\MockObject\MockObject;
1011
use PHPUnit\Framework\TestCase;
1112
use Symfony\Component\Clock\ClockInterface;
1213

1314
#[CoversClass(SettableClock::class)]
15+
#[UsesClass(ManualClock::class)]
1416
class SettableClockTest extends TestCase
1517
{
1618
private ClockInterface&MockObject $innerClock;

0 commit comments

Comments
 (0)