We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ae4ce46 + 380f442 commit bad4ddbCopy full SHA for bad4ddb
tests/Doctrine/UserManagerTest.php
@@ -80,7 +80,7 @@ public function testGetClass()
80
public function testFindUserBy()
81
{
82
$crit = ['foo' => 'bar'];
83
- $this->repository->expects($this->once())->method('findOneBy')->with($this->equalTo($crit))->will($this->returnValue([]));
+ $this->repository->expects($this->once())->method('findOneBy')->with($this->equalTo($crit))->will($this->returnValue(null));
84
85
$this->userManager->findUserBy($crit);
86
}
0 commit comments