Skip to content

Commit

Permalink
#1 Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pabloelcolombiano committed Nov 13, 2022
1 parent 8d0cc06 commit 0596e23
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public function testSetPrimaryKeyOffsetInFactory(int $offset): void
if ($stmt === false) {
$this->fail();
}
/** @var string[][] $entries */
$entries = $stmt->fetchAll();
for ($i = 0; $i <= $n; $i++) {
$this->assertSame($offset + $i, $entries[$i][0]);
Expand Down Expand Up @@ -199,7 +200,7 @@ protected function createTables(): void
foreach ($tables as $table) {
$stmt = "
CREATE TABLE IF NOT EXISTS {$table} (
id INTEGER PRIMARY KEY AUTOINCREMENT,
id INTEGER PRIMARY KEY,
name VARCHAR(128))
";
$this->PDO->exec($stmt);
Expand Down

0 comments on commit 0596e23

Please sign in to comment.