From f57c12b14e360f1694a699fce5a7e8ae4c50b91c Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Mon, 14 Aug 2023 17:03:56 +0200 Subject: Fix various deprecation warnings in tests on PHP 8.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- tests/lib/TextProcessing/TextProcessingTest.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'tests/lib/TextProcessing/TextProcessingTest.php') diff --git a/tests/lib/TextProcessing/TextProcessingTest.php b/tests/lib/TextProcessing/TextProcessingTest.php index 3bda73e995b..15f36cb2452 100644 --- a/tests/lib/TextProcessing/TextProcessingTest.php +++ b/tests/lib/TextProcessing/TextProcessingTest.php @@ -19,6 +19,7 @@ use OC\TextProcessing\RemoveOldTasksBackgroundJob; use OC\TextProcessing\TaskBackgroundJob; use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Utility\ITimeFactory; +use OCP\BackgroundJob\IJobList; use OCP\Common\Exception\NotFoundException; use OCP\EventDispatcher\IEventDispatcher; use OCP\IConfig; @@ -90,6 +91,14 @@ class FreePromptProvider implements IProvider { class TextProcessingTest extends \Test\TestCase { private IManager $manager; private Coordinator $coordinator; + private array $providers; + private IServerContainer $serverContainer; + private IEventDispatcher $eventDispatcher; + private RegistrationContext $registrationContext; + private \DateTimeImmutable $currentTime; + private TaskMapper $taskMapper; + private array $tasksDb; + private IJobList $jobList; protected function setUp(): void { parent::setUp(); -- cgit v1.2.3