Skip to content
Snippets Groups Projects

Update file TemporaryQueryTest.php

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -24,7 +24,7 @@ public function testTemporaryQuery() {
@@ -24,7 +24,7 @@ public function testTemporaryQuery() {
$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();
Loading