From c76b0e698dfa1defaaa325ff74d9c7fd4cdc40bc Mon Sep 17 00:00:00 2001 From: Wilmer Arambula <42547589+terabytesoftw@users.noreply.github.com> Date: Mon, 14 Aug 2023 12:37:43 -0400 Subject: [PATCH] Fix test oracle, update dependencies. (#269) --- composer.json | 4 ++-- tests/ActiveQueryTest.php | 3 --- tests/Driver/Oracle/ActiveQueryTest.php | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index c76197cc6..0e8045e15 100644 --- a/composer.json +++ b/composer.json @@ -21,13 +21,13 @@ "require": { "php": "^8.0", "ext-json": "*", - "yiisoft/db": "^1.0", + "yiisoft/db": "^1.1", "yiisoft/factory": "^1.0" }, "require-dev": { "maglnet/composer-require-checker": "^4.2", "phpunit/phpunit": "^9.6|^10.0", - "rector/rector": "^0.16", + "rector/rector": "^0.17", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.8|^5.8", diff --git a/tests/ActiveQueryTest.php b/tests/ActiveQueryTest.php index 57963a795..5eda8f3c9 100644 --- a/tests/ActiveQueryTest.php +++ b/tests/ActiveQueryTest.php @@ -1842,9 +1842,6 @@ public static function tableNameProvider(): array * * @dataProvider tableNameProvider * - * @param string $orderTableName - * @param string $orderItemTableName - * * @throws Exception|InvalidConfigException */ public function testRelationWhereParams(string $orderTableName, string $orderItemTableName): void diff --git a/tests/Driver/Oracle/ActiveQueryTest.php b/tests/Driver/Oracle/ActiveQueryTest.php index 8f349f249..e760219e1 100644 --- a/tests/Driver/Oracle/ActiveQueryTest.php +++ b/tests/Driver/Oracle/ActiveQueryTest.php @@ -45,7 +45,7 @@ protected function tearDown(): void public function testJoinWithAlias(string $aliasMethod): void { $orders = []; - $this->checkFixture($this->db, 'order'); + $this->checkFixture($this->db, 'order', true); /** left join and eager loading */ $orderQuery = new ActiveQuery(Order::class, $this->db);