1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 13:12:41 +00:00

Row index is not a string

This commit is contained in:
J. King 2017-03-27 23:26:51 -04:00
parent 7236020b8b
commit 2b8aa75ee3

View file

@ -23,7 +23,7 @@ trait Tools {
$cols = implode(",", array_keys($info['columns']));
foreach($drv->prepare("SELECT $cols from $table")->run() as $num => $row) {
$row = array_values($row);
$assertSame($expected[$table]['rows']['$num'], $row, "Row $num of table $table does not match expectation.");
$assertSame($expected[$table]['rows'][$num], $row, "Row $num of table $table does not match expectation.");
}
}
}