Skip to content

Commit

Permalink
Revert "update tests for latest PHP 8.1 MySQL PDO changes"
Browse files Browse the repository at this point in the history
This reverts commit 9c822fe.
  • Loading branch information
hrach committed Nov 27, 2021
1 parent cd8c29c commit c366bc2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cases/integration/result.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
namespace NextrasTests\Dbal;


use Nextras\Dbal\Drivers\PdoMysql\PdoMysqlDriver;
use Nextras\Dbal\Drivers\PdoPgsql\PdoPgsqlDriver;
use Nextras\Dbal\Drivers\Sqlsrv\SqlsrvDriver;
use Nextras\Dbal\Exception\InvalidArgumentException;
Expand Down Expand Up @@ -49,6 +50,7 @@ class ResultIntegrationTest extends IntegrationTestCase
if (
$this->connection->getDriver() instanceof SqlsrvDriver
|| $this->connection->getDriver() instanceof PdoPgsqlDriver
|| $this->connection->getDriver() instanceof PdoMysqlDriver && version_compare(PHP_VERSION, '8.1.0-RC1') >= 0
) {
Assert::same(2, $follower->tag_id);
Assert::same(2, $follower->author_id);
Expand Down

0 comments on commit c366bc2

Please sign in to comment.