Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #26265

It seems Phpunit < 9 was case insensitive.
Fixed the phpunit config to target the correct name for the "Core" test
directory.

Signed-off-by: Vincent Petry <[email protected]>
Remove "ocs-provider" test folder reference as it doesn't exist any
more.
Added back "Test" test subdir and fixed the tests inside.

Signed-off-by: Vincent Petry <[email protected]>
Fixes issue with Oracle by enforcing the order of the results to check.

Signed-off-by: Vincent Petry <[email protected]>
@MorrisJobke MorrisJobke added the 3. to review Waiting for reviews label Mar 24, 2021
@PVince81
Copy link
Member

1) Tests\Core\Controller\AppPasswordControllerTest::testGetAppPasswordWithAppPassword
TypeError: Argument 7 passed to OC\Core\Controller\AppPasswordController::__construct() must implement interface Symfony\Component\EventDispatcher\EventDispatcherInterface, instance of Mock_IEventDispatcher_7ac0ee84 given, called in /drone/src/tests/Core/Controller/AppPasswordControllerTest.php on line 85

Aha, so that change was only needed on master where we switched to IEventDispatcher.

@MorrisJobke MorrisJobke merged commit ba9e1c0 into stable21 Mar 24, 2021
@MorrisJobke MorrisJobke deleted the backport/26265/stable21 branch March 24, 2021 16:13
@rullzer rullzer mentioned this pull request Mar 26, 2021
2 tasks
@rullzer rullzer mentioned this pull request Apr 8, 2021
3 tasks
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 bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants