Skip to content

Commit b01457d

Browse files
committed
fix failing tests
1 parent 959c6b4 commit b01457d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Eloquent/PostgisTraitTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ public function prepare($statement, $driver_options = null)
102102
$this->queries[] = $statement;
103103

104104
$stmt = m::mock('PDOStatement');
105+
$stmt->shouldReceive('setFetchMode')->zeroOrMoreTimes();
105106
$stmt->shouldReceive('bindValue')->zeroOrMoreTimes();
106107
$stmt->shouldReceive('execute');
107108
$stmt->shouldReceive('fetchAll')->andReturn([['id' => 1, 'point' => 'POINT(1 2)']]);

0 commit comments

Comments
 (0)