Working state
This commit is contained in:
@@ -127,7 +127,7 @@ final class MediaRepositoryTest extends TestCase
|
||||
public function testFindByUserIdReturnsEmptyArrayWhenNone(): void
|
||||
{
|
||||
$stmt = $this->stmtForRead([]);
|
||||
$this->db->method('prepare')->willReturn($stmt);
|
||||
$this->db->expects($this->once())->method('prepare')->willReturn($stmt);
|
||||
|
||||
$this->assertSame([], $this->repository->findByUserId(99));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user