Skip to content

Conversation

@come-nc
Copy link
Contributor

@come-nc come-nc commented Dec 6, 2022

…ot exists on ICreateFromString

Signed-off-by: Côme Chilliet come.chilliet@nextcloud.com

Fixes the following:

1) Test\Calendar\ManagerTest::testHandleImipReplyEventNotFound
PHPUnit\Framework\MockObject\MethodCannotBeConfiguredException: Trying to configure method "handleIMipMessage" which cannot be configured because it does not exist, has not been specified, is final, or is static

/home/mcmic/dev/nextcloud/server/tests/lib/Calendar/ManagerTest.php:356

2) Test\Calendar\ManagerTest::testHandleImipReply
PHPUnit\Framework\MockObject\MethodCannotBeConfiguredException: Trying to configure method "handleIMipMessage" which cannot be configured because it does not exist, has not been specified, is final, or is static

/home/mcmic/dev/nextcloud/server/tests/lib/Calendar/ManagerTest.php:391

3) Test\Calendar\ManagerTest::testHandleImipCancelOrganiserInReplyTo
PHPUnit\Framework\MockObject\MethodCannotBeConfiguredException: Trying to configure method "handleIMipMessage" which cannot be configured because it does not exist, has not been specified, is final, or is static

/home/mcmic/dev/nextcloud/server/tests/lib/Calendar/ManagerTest.php:513

4) Test\Calendar\ManagerTest::testHandleImipCancel
TypeError: PHPUnit\Framework\TestCase::createMock(): Argument #1 ($originalClassName) must be of type string, array given, called in /home/mcmic/dev/nextcloud/server/tests/lib/Calendar/ManagerTest.php on line 536

…ot exists on ICreateFromString

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc self-assigned this Dec 6, 2022
@come-nc come-nc added this to the Nextcloud 26 milestone Dec 6, 2022
@come-nc come-nc requested a review from miaulalala December 6, 2022 14:37
@come-nc come-nc added 3. to review Waiting for reviews tests Related to tests labels Dec 6, 2022
@come-nc come-nc requested review from a team, PVince81, juliusknorr and skjnldsv and removed request for a team December 6, 2022 14:37
@come-nc come-nc mentioned this pull request Dec 6, 2022
19 tasks
@juliusknorr juliusknorr merged commit 3c8fb59 into master Dec 7, 2022
@juliusknorr juliusknorr deleted the fix/fix-calendar-imip-tests branch December 7, 2022 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants