diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 17:03:56 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-08-14 18:13:12 +0200 |
commit | f57c12b14e360f1694a699fce5a7e8ae4c50b91c (patch) | |
tree | c95ba93938f67fa157206b2aabde701a52bcc649 /tests/lib/TextProcessing/TextProcessingTest.php | |
parent | 8857599656f0ad14253084388fab7570208b21db (diff) | |
download | nextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.tar.gz nextcloud-server-f57c12b14e360f1694a699fce5a7e8ae4c50b91c.zip |
Fix various deprecation warnings in tests on PHP 8.3
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/TextProcessing/TextProcessingTest.php')
-rw-r--r-- | tests/lib/TextProcessing/TextProcessingTest.php | 9 |
1 files changed, 9 insertions, 0 deletions
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(); |