Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Nov 14, 2018
1 parent 14896a7 commit 9c9c992
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ public function testLastInsertIdAcceptsFqn()
$schema = $this->connection->getDatabase();
$sequence = $platform->getIdentitySequenceName($schema . '.DBAL2595', 'id');

self::assertSame(1, $this->driverConnection->lastInsertId($sequence));
self::assertSame('1', $this->driverConnection->lastInsertId($sequence));
}
}
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/DBAL/Functional/WriteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public function testLastInsertIdNoSequenceGiven()
$this->markTestSkipped("Test only works consistently on platforms that support sequences and don't support identity columns.");
}

self::assertFalse($this->connection->lastInsertId(null));
self::assertSame('', $this->connection->lastInsertId(null));
}

/**
Expand Down

0 comments on commit 9c9c992

Please sign in to comment.