Open ZVanoZ opened 3 years ago
Whats wrong? This seems to be a bug in the test system again.
--
There was 1 failure:
1) LaminasIntegrationTest\Db\Adapter\Driver\Pdo\Mysql\AdapterTest::testDriverDisconnectAfterQuoteWithPlatform
Failed asserting that true is false.
Error: /github/workspace/test/integration/Adapter/Driver/Pdo/AbstractAdapterTest.php:41
--
// test/integration/Adapter/Driver/Pdo/AbstractAdapterTest.php
public function testDriverDisconnectAfterQuoteWithPlatform()
{
$isTcpConnection = $this->isTcpConnection();
$this->adapter->getDriver()->getConnection()->connect();
self::assertTrue($this->adapter->getDriver()->getConnection()->isConnected());
if ($isTcpConnection) {
self::assertTrue($this->isConnectedTcp());
}
$this->adapter->getDriver()->getConnection()->disconnect();
self::assertFalse($this->adapter->getDriver()->getConnection()->isConnected());
if ($isTcpConnection) {
self::assertFalse($this->isConnectedTcp()); // LINE 41
}
//...
Sometime, "uniqid" return value, similar to number. It is give test error.
Forum Bug appears
This pull request fixed the error and added test for check numeric prefix error.