Fix parseRow test
This commit is contained in:
parent
1a7970c9cd
commit
ae2a002d06
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ standaloneTests(FutureOr<QueryExecutor> Function() createExecutor,
|
||||||
});
|
});
|
||||||
|
|
||||||
test('parseRow', () {
|
test('parseRow', () {
|
||||||
var row = [0, 'Mazda', 'CX9', true, y2k, y2k, y2k];
|
// 'id', 'created_at', 'updated_at', 'make', 'description', 'family_friendly', 'recalled_at'
|
||||||
|
// var row = [0, 'Mazda', 'CX9', true, y2k, y2k, y2k];
|
||||||
|
var row = [0, y2k, y2k, 'Mazda', 'CX9', true, y2k];
|
||||||
print(row);
|
print(row);
|
||||||
var car = new CarQuery().deserialize(row);
|
var car = new CarQuery().deserialize(row);
|
||||||
print(car.toJson());
|
print(car.toJson());
|
||||||
|
|
Loading…
Reference in a new issue