Skip to content

Commit e9e9659

Browse files
committed
Fix unit test for Orm getRouteByName change.
1 parent 3634916 commit e9e9659

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Unit/Doctrine/Orm/RouteProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function testGetRouteByName()
4646

4747
$this->objectRepository
4848
->expects($this->any())
49-
->method('findBy')
49+
->method('findOneBy')
5050
->with(array('name' => '/cms/routes/test-route'))
5151
->will($this->returnValue($this->route))
5252
;

0 commit comments

Comments
 (0)