aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Avatars
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/tests/unit/Avatars')
-rw-r--r--apps/dav/tests/unit/Avatars/AvatarHomeTest.php2
-rw-r--r--apps/dav/tests/unit/Avatars/AvatarNodeTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php
index cce30d75fd2..8a0e9a2d026 100644
--- a/apps/dav/tests/unit/Avatars/AvatarHomeTest.php
+++ b/apps/dav/tests/unit/Avatars/AvatarHomeTest.php
@@ -37,7 +37,7 @@ class AvatarHomeTest extends TestCase {
/** @var AvatarHome */
private $home;
- /** @var IAvatarManager | \PHPUnit_Framework_MockObject_MockObject */
+ /** @var IAvatarManager | \PHPUnit\Framework\MockObject\MockObject */
private $avatarManager;
protected function setUp(): void {
diff --git a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php
index de81e903667..d47e6d167f0 100644
--- a/apps/dav/tests/unit/Avatars/AvatarNodeTest.php
+++ b/apps/dav/tests/unit/Avatars/AvatarNodeTest.php
@@ -28,14 +28,14 @@ use Test\TestCase;
class AvatarNodeTest extends TestCase {
public function testGetName() {
- /** @var IAvatar | \PHPUnit_Framework_MockObject_MockObject $a */
+ /** @var IAvatar | \PHPUnit\Framework\MockObject\MockObject $a */
$a = $this->createMock(IAvatar::class);
$n = new AvatarNode(1024, 'png', $a);
$this->assertEquals('1024.png', $n->getName());
}
public function testGetContentType() {
- /** @var IAvatar | \PHPUnit_Framework_MockObject_MockObject $a */
+ /** @var IAvatar | \PHPUnit\Framework\MockObject\MockObject $a */
$a = $this->createMock(IAvatar::class);
$n = new AvatarNode(1024, 'png', $a);
$this->assertEquals('image/png', $n->getContentType());