From d80dc2d11d0f87798f383544402d41a07af82ae8 Mon Sep 17 00:00:00 2001 From: Valerii Gorbachev Date: Wed, 28 Dec 2022 09:01:30 +0300 Subject: [PATCH] Fix for cache in tests (#136) --- composer.json | 3 ++- tests/QueryBuilderTest.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 8a66531..21da151 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,8 @@ "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.18", "yiisoft/aliases": "^2.0", - "yiisoft/cache": "^2.0" + "yiisoft/cache": "^2.0", + "yiisoft/cache-file": "^2.0" }, "autoload": { "psr-4": { diff --git a/tests/QueryBuilderTest.php b/tests/QueryBuilderTest.php index df7fd5e..78d3480 100644 --- a/tests/QueryBuilderTest.php +++ b/tests/QueryBuilderTest.php @@ -548,7 +548,7 @@ public function testUpsert( string $table, array|QueryInterface $insertColumns, array|bool $updateColumns, - string|array $expectedSQL, + string $expectedSQL, array $expectedParams ): void { parent::testUpsert($table, $insertColumns, $updateColumns, $expectedSQL, $expectedParams);