Skip to content

Commit

Permalink
Merge pull request #80 from njbarrett/update-travis
Browse files Browse the repository at this point in the history
update travis build to trusty
  • Loading branch information
njbarrett committed Jul 14, 2017
2 parents 257f4df + b01457d commit 4e531f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: php
dist: trusty
php:
- 5.5
- 5.6
Expand Down
6 changes: 0 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
{
"name": "phaza/laravel-postgis",
"description": "Postgis extensions for laravel. Aims to make it easy to work with geometries from laravel models",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/phaza/laravel-postgres.git"
}
],
"require": {
"php": ">=5.5",
"illuminate/database": "^5.2",
Expand Down
1 change: 1 addition & 0 deletions tests/Eloquent/PostgisTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public function prepare($statement, $driver_options = null)
$this->queries[] = $statement;

$stmt = m::mock('PDOStatement');
$stmt->shouldReceive('setFetchMode')->zeroOrMoreTimes();
$stmt->shouldReceive('bindValue')->zeroOrMoreTimes();
$stmt->shouldReceive('execute');
$stmt->shouldReceive('fetchAll')->andReturn([['id' => 1, 'point' => 'POINT(1 2)']]);
Expand Down

0 comments on commit 4e531f2

Please sign in to comment.