File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ public function testIteration()
8787 */
8888 public function testCurrentWithEmptyIterator ()
8989 {
90- $ repo = $ this ->getManager ('foo ' )->getRepository ('AcmeFooBundle:Customer ' );
90+ $ repo = $ this ->getManager ('default ' )->getRepository ('AcmeFooBundle:Customer ' );
9191 $ search = $ repo
9292 ->createSearch ()
9393 ->addQuery (new MatchAllQuery ());
Original file line number Diff line number Diff line change @@ -323,7 +323,8 @@ public function testRemoveException()
323323 public function testParseResultsWithDifferentResultTypes ()
324324 {
325325 $ fooManager = $ this ->getManager ('foo ' );
326- $ defaultManager = $ this ->getManager ();
326+ $ defaultManager = $ this ->getManager ('default ' );
327+ sleep (2 ); //Needs few seconds to manage index creation.
327328
328329 $ repo = $ fooManager ->getRepository ('AcmeBarBundle:Product ' );
329330 $ search = $ repo ->createSearch ();
You can’t perform that action at this time.
0 commit comments