Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6f44719

Browse files
committed
Add back missing rparen
1 parent a2d0a86 commit 6f44719

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/Database/DatabaseEloquentBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public function testEagerLoadRelationsLoadTopLevelRelationships()
191191
$nop1 = function() {};
192192
$nop2 = function() {};
193193
$builder->setEagerLoads(array('foo' => $nop1, 'foo.bar' => $nop2));
194-
$builder->expects($this->once())->method('loadRelation')->with($this->equalTo(array('models')), $this->equalTo('foo'), $this->equalTo($nop1)->will($this->returnValue(array('foo')));
194+
$builder->expects($this->once())->method('loadRelation')->with($this->equalTo(array('models')), $this->equalTo('foo'), $this->equalTo($nop1))->will($this->returnValue(array('foo')));
195195
$results = $builder->eagerLoadRelations(array('models'));
196196

197197
$this->assertEquals(array('foo'), $results);

0 commit comments

Comments
 (0)