Browse Source

Fixed test

tags/2.0.14.2
SilverFire - Dmitry Naumenko 7 years ago
parent
commit
0ca003343b
No known key found for this signature in database
GPG Key ID: 39DD917A92B270A
  1. 2
      tests/framework/db/mysql/QueryBuilderTest.php

2
tests/framework/db/mysql/QueryBuilderTest.php

@ -250,7 +250,7 @@ class QueryBuilderTest extends \yiiunit\framework\db\QueryBuilderTest
[ [
'id' => 1, 'id' => 1,
], ],
$this->replaceQuotes('UPDATE [[profile]] SET [[description]]=:qp0 WHERE [[id]]=:qp1'), $this->replaceQuotes('UPDATE [[profile]] SET [[description]]=CAST(:qp0 AS JSON) WHERE [[id]]=:qp1'),
[ [
':qp0' => '{"abc":"def","0":123,"1":null}', ':qp0' => '{"abc":"def","0":123,"1":null}',
':qp1' => 1, ':qp1' => 1,

Loading…
Cancel
Save