summaryrefslogtreecommitdiffstats
path: root/apps/comments/tests/Unit/EventHandlerTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/tests/Unit/EventHandlerTest.php')
-rw-r--r--apps/comments/tests/Unit/EventHandlerTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/comments/tests/Unit/EventHandlerTest.php b/apps/comments/tests/Unit/EventHandlerTest.php
index bb1d660af1e..daf638aa3d1 100644
--- a/apps/comments/tests/Unit/EventHandlerTest.php
+++ b/apps/comments/tests/Unit/EventHandlerTest.php
@@ -35,10 +35,10 @@ class EventHandlerTest extends TestCase {
/** @var EventHandler */
protected $eventHandler;
- /** @var ActivityListener|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var ActivityListener|\PHPUnit\Framework\MockObject\MockObject */
protected $activityListener;
- /** @var NotificationListener|\PHPUnit_Framework_MockObject_MockObject */
+ /** @var NotificationListener|\PHPUnit\Framework\MockObject\MockObject */
protected $notificationListener;
protected function setUp(): void {
@@ -56,13 +56,13 @@ class EventHandlerTest extends TestCase {
}
public function testNotFiles() {
- /** @var IComment|\PHPUnit_Framework_MockObject_MockObject $comment */
+ /** @var IComment|\PHPUnit\Framework\MockObject\MockObject $comment */
$comment = $this->getMockBuilder(IComment::class)->getMock();
$comment->expects($this->once())
->method('getObjectType')
->willReturn('smiles');
- /** @var CommentsEvent|\PHPUnit_Framework_MockObject_MockObject $event */
+ /** @var CommentsEvent|\PHPUnit\Framework\MockObject\MockObject $event */
$event = $this->getMockBuilder(CommentsEvent::class)
->disableOriginalConstructor()
->getMock();
@@ -89,13 +89,13 @@ class EventHandlerTest extends TestCase {
* @param string $eventType
*/
public function testHandled($eventType) {
- /** @var IComment|\PHPUnit_Framework_MockObject_MockObject $comment */
+ /** @var IComment|\PHPUnit\Framework\MockObject\MockObject $comment */
$comment = $this->getMockBuilder(IComment::class)->getMock();
$comment->expects($this->once())
->method('getObjectType')
->willReturn('files');
- /** @var CommentsEvent|\PHPUnit_Framework_MockObject_MockObject $event */
+ /** @var CommentsEvent|\PHPUnit\Framework\MockObject\MockObject $event */
$event = $this->getMockBuilder(CommentsEvent::class)
->disableOriginalConstructor()
->getMock();