diff --git a/composer.json b/composer.json index 69e1798..0702200 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "php": ">=7.2.0", "cakephp/cakephp": "^4.1", "enqueue/simple-client": "^0.10", - "psr/log": "^1.1" + "psr/log": "^1.1 || ^2.0" }, "require-dev": { "cakephp/bake": "^2.1", diff --git a/tests/TestCase/QueueManagerTest.php b/tests/TestCase/QueueManagerTest.php index 542d370..c9e1a1c 100644 --- a/tests/TestCase/QueueManagerTest.php +++ b/tests/TestCase/QueueManagerTest.php @@ -93,7 +93,7 @@ public function testNonDefaultQueueNameArray() { QueueManager::setConfig('test', [ 'url' => [ - 'transport' => 'file:', + 'transport' => 'file:' . TMP . 'fs-test.tmp', 'client' => [ 'router_queue' => 'other', ], diff --git a/tests/TestCase/Task/JobTaskTest.php b/tests/TestCase/Task/JobTaskTest.php index f491c50..bd8c65b 100644 --- a/tests/TestCase/Task/JobTaskTest.php +++ b/tests/TestCase/Task/JobTaskTest.php @@ -61,7 +61,7 @@ public function tearDown(): void public function testMain() { - $this->generatedFile = APP . 'Job/UploadJob.php'; + $this->generatedFile = APP . 'Job' . DS . 'UploadJob.php'; $this->exec('bake job upload'); $this->assertExitCode(Command::CODE_SUCCESS);