diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2023-09-19 15:19:04 +0200 |
---|---|---|
committer | Daniel <mail@danielkesselberg.de> | 2023-09-22 17:16:20 +0200 |
commit | 97a024f03598d6d6bfc26a860f4a3d5e2803b779 (patch) | |
tree | c6e315ad4373cc00200ce37c017fbc52095e20d3 /tests | |
parent | 7fecdf61299e7213fd857e7d89ce9b33db05c47b (diff) | |
download | nextcloud-server-97a024f03598d6d6bfc26a860f4a3d5e2803b779.tar.gz nextcloud-server-97a024f03598d6d6bfc26a860f4a3d5e2803b779.zip |
chore(3rdparty): remove opis/closure
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Command/CronBusTest.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/lib/Command/CronBusTest.php b/tests/lib/Command/CronBusTest.php index 100de0a861c..ea610a135d8 100644 --- a/tests/lib/Command/CronBusTest.php +++ b/tests/lib/Command/CronBusTest.php @@ -47,11 +47,4 @@ class CronBusTest extends AsyncBusTest { $job->execute($this->jobList); } } - - public function testClosureFromPreviousVersion() { - $serializedClosure = 'C:32:"Opis\\Closure\\SerializableClosure":217:{a:5:{s:3:"use";a:0:{}s:8:"function";s:64:"function () {\\Test\\Command\\AsyncBusTest::$lastCommand = \'opis\';}";s:5:"scope";s:24:"Test\\Command\\CronBusTest";s:4:"this";N;s:4:"self";s:32:"0000000027dcfe2f00000000407fa805";}}'; - $this->jobList->add('OC\Command\ClosureJob', $serializedClosure); - $this->runJobs(); - $this->assertEquals('opis', AsyncBusTest::$lastCommand); - } } |