fix tests

This commit is contained in:
Dennis Eichhorn 2023-09-24 14:19:21 +00:00
parent 23cf5e4a48
commit 3fa5184167

View File

@ -225,7 +225,7 @@ class SpreadsheetDatabaseMapper implements IODatabaseMapper
$query->sets($titles[$j - 1], $workSheet->getCell(StringUtils::intToAlphabet($j) . $line)->getCalculatedValue()); $query->sets($titles[$j - 1], $workSheet->getCell(StringUtils::intToAlphabet($j) . $line)->getCalculatedValue());
} }
$query->where($titles[0], '=', $workSheet->getCell('A' . $line)->getCalculatedValue()); $query->where((string) $titles[0], '=', $workSheet->getCell('A' . $line)->getCalculatedValue());
$query->execute(); $query->execute();
++$line; ++$line;