From 278605f0bd714fcdde3e88a3f565e8fbd9106ed4 Mon Sep 17 00:00:00 2001 From: bjorn Date: Mon, 13 Nov 2023 16:21:31 +0100 Subject: [PATCH] Fix db_query.php expected test. --- fixtures/d8/rector_examples_updated/db_query.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fixtures/d8/rector_examples_updated/db_query.php b/fixtures/d8/rector_examples_updated/db_query.php index ea451471..19296cfa 100644 --- a/fixtures/d8/rector_examples_updated/db_query.php +++ b/fixtures/d8/rector_examples_updated/db_query.php @@ -1,5 +1,6 @@ query('select * from user where name="%test"', ['%test'=>'Adam'], [ + Database::getConnection('my_non_default_database')->query('select * from user where name="%test"', ['%test'=>'Adam'], [ 'fetch' => \PDO::FETCH_OBJ, 'return' => Database::RETURN_STATEMENT, 'throw_exception' => TRUE,