Merge pull request #6348 from nextcloud/automated/noid/main-update-nextcloud-ocp

[main] Update nextcloud/ocp dependency
This commit is contained in:
github-actions[bot]
2024-09-25 07:51:46 +00:00
committed by GitHub
2 changed files with 11 additions and 7 deletions

8
composer.lock generated
View File

@@ -444,12 +444,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/nextcloud-deps/ocp.git", "url": "https://github.com/nextcloud-deps/ocp.git",
"reference": "56dae49d60120c34b5651d37da7668c971424665" "reference": "c6e5d11fc82e073e4f80cfce215791b6941998c2"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/56dae49d60120c34b5651d37da7668c971424665", "url": "https://api.github.com/repos/nextcloud-deps/ocp/zipball/c6e5d11fc82e073e4f80cfce215791b6941998c2",
"reference": "56dae49d60120c34b5651d37da7668c971424665", "reference": "c6e5d11fc82e073e4f80cfce215791b6941998c2",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -481,7 +481,7 @@
"issues": "https://github.com/nextcloud-deps/ocp/issues", "issues": "https://github.com/nextcloud-deps/ocp/issues",
"source": "https://github.com/nextcloud-deps/ocp/tree/master" "source": "https://github.com/nextcloud-deps/ocp/tree/master"
}, },
"time": "2024-09-14T00:40:10+00:00" "time": "2024-09-21T00:40:41+00:00"
}, },
{ {
"name": "nikic/php-parser", "name": "nikic/php-parser",

View File

@@ -36,6 +36,7 @@ use OCP\IURLGenerator;
use OCP\IUser; use OCP\IUser;
use OCP\IUserManager; use OCP\IUserManager;
use OCP\L10N\IFactory; use OCP\L10N\IFactory;
use OCP\RichObjectStrings\IRichTextFormatter;
use OCP\RichObjectStrings\IValidator; use OCP\RichObjectStrings\IValidator;
use PHPUnit\Framework\TestCase; use PHPUnit\Framework\TestCase;
use PHPUnit_Framework_MockObject_MockObject as MockObject; use PHPUnit_Framework_MockObject_MockObject as MockObject;
@@ -185,7 +186,8 @@ class DeckProviderTest extends TestCase {
->willReturn($user); ->willReturn($user);
$richValidator = $this->createMock(IValidator::class); $richValidator = $this->createMock(IValidator::class);
$event = new Event($richValidator); $richTextFormater = $this->createMock(IRichTextFormatter::class);
$event = new Event($richValidator, $richTextFormater);
$event->setApp('deck'); $event->setApp('deck');
$event->setSubject(ActivityManager::SUBJECT_BOARD_CREATE); $event->setSubject(ActivityManager::SUBJECT_BOARD_CREATE);
@@ -226,7 +228,8 @@ class DeckProviderTest extends TestCase {
->willReturn($user); ->willReturn($user);
$richValidator = $this->createMock(IValidator::class); $richValidator = $this->createMock(IValidator::class);
$event = new Event($richValidator); $richTextFormater = $this->createMock(IRichTextFormatter::class);
$event = new Event($richValidator, $richTextFormater);
$event->setApp('deck'); $event->setApp('deck');
$event->setSubject(ActivityManager::SUBJECT_CARD_CREATE, ['card' => new Card()]); $event->setSubject(ActivityManager::SUBJECT_CARD_CREATE, ['card' => new Card()]);
@@ -269,7 +272,8 @@ class DeckProviderTest extends TestCase {
->willReturn($user); ->willReturn($user);
$richValidator = $this->createMock(IValidator::class); $richValidator = $this->createMock(IValidator::class);
$event = new Event($richValidator); $richTextFormater = $this->createMock(IRichTextFormatter::class);
$event = new Event($richValidator, $richTextFormater);
$event->setApp('deck'); $event->setApp('deck');
$event->setSubject(ActivityManager::SUBJECT_CARD_UPDATE_DESCRIPTION, [ $event->setSubject(ActivityManager::SUBJECT_CARD_UPDATE_DESCRIPTION, [