Skip to content

Commit

Permalink
fixup! fixup! Fix various deprecation warnings in tests on PHP 8.3
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Aug 14, 2023
1 parent 0ebed3b commit 14d975c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/lib/App/AppManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ public function testGetDefaultAppForUser($defaultApps, $expectedApp) {

$this->config->expects($this->once())
->method('getUserValue')
->with('core', 'defaultapp')
->with('user1', 'core', 'defaultapp')
->willReturn('');

$this->assertEquals($expectedApp, $this->manager->getDefaultAppForUser());
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/TextProcessing/TextProcessingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class TextProcessingTest extends \Test\TestCase {
private Coordinator $coordinator;
private array $providers;
private IServerContainer $serverContainer;
private EventDispatcher $eventDispatcher;
private IEventDispatcher $eventDispatcher;
private RegistrationContext $registrationContext;
private \DateTimeImmutable $currentTime;
private TaskMapper $taskMapper;
Expand Down

0 comments on commit 14d975c

Please sign in to comment.