Fix parseRow test

This commit is contained in:
Tobe O 2019-07-04 17:52:35 -04:00
parent 1a7970c9cd
commit ae2a002d06

View file

@ -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());