Skip to content

Commit

Permalink
Fix test result test
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Sep 3, 2023
1 parent 8770f51 commit 2aca4a8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/PqConnectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,9 @@ public function testNextResultBeforeConsumption()
{
$result = $this->link->query("SELECT * FROM test; SELECT * FROM test;");

$this->expectException(\Error::class);
$this->expectExceptionMessage('Consume entire current result before requesting next result');
$result = $result->getNextResult();

$result->getNextResult();
$this->verifyResult($result, $this->getData());
}

public function testUnconsumedMultiResult()
Expand Down

0 comments on commit 2aca4a8

Please sign in to comment.