Issue #3440175 by mondrake: core/modules/sqlite/tests/src/Kernel/sqlite/TemporaryQueryTest.php is failing in HEAD

(cherry picked from commit 48c0a2682c)
merge-requests/8190/head
Lee Rowlands 2024-04-12 07:42:24 +10:00
parent 7a518b5e0c
commit 3d1e61060f
No known key found for this signature in database
GPG Key ID: 2B829A3DF9204DC4
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class TemporaryQueryTest extends TemporaryQueryTestBase {
$table_name_test = $connection->queryTemporary('SELECT [name] FROM {test}', []); $table_name_test = $connection->queryTemporary('SELECT [name] FROM {test}', []);
// Assert that the table is indeed a temporary one. // Assert that the table is indeed a temporary one.
$this->stringContains("temp.", $table_name_test); $this->assertStringContainsString("temp.", $table_name_test);
// Assert that both have the same field names. // Assert that both have the same field names.
$normal_table_fields = $connection->query("SELECT * FROM {test}")->fetch(); $normal_table_fields = $connection->query("SELECT * FROM {test}")->fetch();