public function test_gh27_has_many_through_with_explicit_keys() { $property = Property::first(); $this->assert_equals(1, $property->amenities[0]->amenity_id); $this->assert_equals(2, $property->amenities[1]->amenity_id); }
public function testGh27HasManyThroughWithExplicitKeys() { $property = Property::first(); $this->assertEquals(1, $property->amenities[0]->amenity_id); $this->assertEquals(2, $property->amenities[1]->amenity_id); }