File tree 1 file changed +1
-14
lines changed
1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ public static function updateProvider(): array
324
324
[
325
325
'id ' => 1 ,
326
326
],
327
- self ::replaceQuotes ('UPDATE [[profile]] SET [[description]]=CAST( :qp0 AS JSON) WHERE [[id]]=:qp1 ' ),
327
+ self ::replaceQuotes ('UPDATE [[profile]] SET [[description]]=:qp0 WHERE [[id]]=:qp1 ' ),
328
328
[
329
329
':qp0 ' => '{"abc":"def","0":123,"1":null} ' ,
330
330
':qp1 ' => 1 ,
@@ -400,19 +400,6 @@ public function testDefaultValues(): void
400
400
$ this ->assertEquals ("INSERT INTO `negative_default_values` (`tinyint_col`) VALUES (DEFAULT) " , $ sql );
401
401
}
402
402
403
- /**
404
- * @dataProvider checksProvider
405
- *
406
- * @param string $sql The SQL.
407
- */
408
- public function testAddDropCheck (string $ sql , \Closure $ builder ): void
409
- {
410
- $ this ->expectException (\yii \base \NotSupportedException::class);
411
- $ this ->expectExceptionMessage ('is not supported by MySQL. ' );
412
-
413
- parent ::testAddDropCheck ($ sql , $ builder );
414
- }
415
-
416
403
/**
417
404
* @dataProvider defaultValuesProvider
418
405
*
You can’t perform that action at this time.
0 commit comments