aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-08-11 21:32:18 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-12 13:55:19 +0200
commit234b510652d117bb3ef9ef3b6315db3a2c2eb91b (patch)
tree880cec2bf4fe4846eff9fa5aa68d2671fb0495be /apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php
parent138f47a1b980aaceb116b256b8ccf14f523e7e67 (diff)
downloadnextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.tar.gz
nextcloud-server-234b510652d117bb3ef9ef3b6315db3a2c2eb91b.zip
Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to \PHPUnit\Framework\MockObject\MockObject
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php')
-rw-r--r--apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php
index 293a7abf45e..2365c94736c 100644
--- a/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php
+++ b/apps/dav/tests/unit/Migration/CalDAVRemoveEmptyValueTest.php
@@ -40,13 +40,13 @@ use Test\TestCase;
*/
class CalDAVRemoveEmptyValueTest extends TestCase {
- /** @var ILogger|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ILogger|\PHPUnit\Framework\MockObject\MockObject */
private $logger;
- /** @var CalDavBackend|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var CalDavBackend|\PHPUnit\Framework\MockObject\MockObject */
private $backend;
- /** @var IOutput|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var IOutput|\PHPUnit\Framework\MockObject\MockObject */
private $output;
/** @var string */
@@ -63,7 +63,7 @@ UID:1234567890@example.com
DTSTAMP:20151214T091032Z
STATUS:CONFIRMED
SEQUENCE:0
-SUMMARY:Ein Geburtstag
+SUMMARY:Ein Geburtstag
DTSTART;VALUE=:20151223T173000Z
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
CREATED;VALUE=:20151214T091032Z
@@ -84,7 +84,7 @@ UID:1234567890@example.com
DTSTAMP:20151214T091032Z
STATUS:CONFIRMED
SEQUENCE:0
-SUMMARY:Ein Geburtstag
+SUMMARY:Ein Geburtstag
DTSTART:20151223T173000Z
X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC
CREATED:20151214T091032Z
@@ -100,7 +100,7 @@ END:VCALENDAR';
}
public function testRunAllValid() {
- /** @var CalDAVRemoveEmptyValue|\PHPUnit_Framework_MockObject_MockObject $step */
+ /** @var CalDAVRemoveEmptyValue|\PHPUnit\Framework\MockObject\MockObject $step */
$step = $this->getMockBuilder(CalDAVRemoveEmptyValue::class)
->setConstructorArgs([
\OC::$server->getDatabaseConnection(),
@@ -124,7 +124,7 @@ END:VCALENDAR';
}
public function testRunInvalid() {
- /** @var CalDAVRemoveEmptyValue|\PHPUnit_Framework_MockObject_MockObject $step */
+ /** @var CalDAVRemoveEmptyValue|\PHPUnit\Framework\MockObject\MockObject $step */
$step = $this->getMockBuilder(CalDAVRemoveEmptyValue::class)
->setConstructorArgs([
\OC::$server->getDatabaseConnection(),
@@ -167,7 +167,7 @@ END:VCALENDAR';
}
public function testRunValid() {
- /** @var CalDAVRemoveEmptyValue|\PHPUnit_Framework_MockObject_MockObject $step */
+ /** @var CalDAVRemoveEmptyValue|\PHPUnit\Framework\MockObject\MockObject $step */
$step = $this->getMockBuilder(CalDAVRemoveEmptyValue::class)
->setConstructorArgs([
\OC::$server->getDatabaseConnection(),
@@ -209,7 +209,7 @@ END:VCALENDAR';
}
public function testRunStillInvalid() {
- /** @var CalDAVRemoveEmptyValue|\PHPUnit_Framework_MockObject_MockObject $step */
+ /** @var CalDAVRemoveEmptyValue|\PHPUnit\Framework\MockObject\MockObject $step */
$step = $this->getMockBuilder(CalDAVRemoveEmptyValue::class)
->setConstructorArgs([
\OC::$server->getDatabaseConnection(),