Browse Source

Stringify column name in data array.

mark_story 9 years ago
parent
commit
cddaaa45c8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Database/QueryTest.php

+ 1 - 1
tests/TestCase/Database/QueryTest.php

@@ -2942,7 +2942,7 @@ class QueryTest extends TestCase
         $query->insert([123])
             ->into('articles')
             ->values([
-                123 => 'mark',
+                '123' => 'mark',
             ]);
         $result = $query->sql();
         $this->assertQuotedQuery(