diff --git a/.travis.yml b/.travis.yml index e53ebb7..54b1152 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 5.6 - 7.0 + - 7.1 - hhvm install: diff --git a/tests/JoinerTest.php b/tests/JoinerTest.php index f505ee8..9d50f6d 100644 --- a/tests/JoinerTest.php +++ b/tests/JoinerTest.php @@ -125,11 +125,6 @@ public function profiles() return $this->hasManyThrough($related, $through, 'user_id', 'company_id'); } - public function getForeignKey() - { - return 'user_id'; - } - public function posts() { return $this->hasMany('Sofa\Eloquence\Tests\JoinerPostStub', 'user_id'); @@ -157,11 +152,6 @@ public function company() class JoinerCompanyStub extends Model { protected $table = 'companies'; - - public function getForeignKey() - { - return 'company_id'; - } } class JoinerPostStub extends Model {