Skip to content

Commit

Permalink
Fixed test as PHP7.4 produces a different error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Wozniak authored and falkenhawk committed Dec 16, 2019
1 parent 04a26f4 commit a88e745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Zend/Db/Statement/TestCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ public function testStatementGetSetAttribute()
try {
$this->assertEquals($value, $stmt->getAttribute(1234), "Expected '$value' #1");
} catch (Zend_Exception $e) {
$this->assertContains('This driver doesn\'t support getting attributes', $e->getMessage());
$this->assertContains('driver doesn\'t support getting', $e->getMessage());
return;
}

Expand Down

0 comments on commit a88e745

Please sign in to comment.