Skip to content

Commit

Permalink
Update doctrine dbal dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecorche committed Jun 21, 2024
1 parent 7cd14a3 commit c2f05fb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"require-dev": {
"dg/bypass-finals": "^1.3",
"doctrine/dbal": "^2.11.0|^3.0",
"doctrine/dbal": "^3.1|^4.0",
"doctrine/doctrine-bundle": "^2.4.5",
"friendsofphp/php-cs-fixer": "^3.0",
"phpunit/phpunit": "^10",
Expand Down
4 changes: 2 additions & 2 deletions tests/Functional/WorkflowTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected function setUp(): void

public function testStatusBeforeStart(): void
{
self::getContainer()->get('doctrine')->getConnection()->query('DROP TABLE IF EXISTS messenger_messages');
self::getContainer()->get('doctrine')->getConnection()->executeQuery('DROP TABLE IF EXISTS messenger_messages');

$command = $this->getCommandTester();
$command->execute([
Expand Down Expand Up @@ -232,7 +232,7 @@ protected function checkCountMessages(int $expected, ?string $queue, ?string $id
$queryBuilder->andWhere('messenger_messages.id = :id')
->setParameter('id', $id);
}
$stmnt = $queryBuilder->execute();
$stmnt = $queryBuilder->executeQuery();
$count = (int) $stmnt->fetchOne();

if ($count === $expected || null === $timeout || time() - $begin > $timeout) {
Expand Down

0 comments on commit c2f05fb

Please sign in to comment.