@@ -56,7 +56,7 @@ public function testPersistBlog()
56
56
$ routes = $ this ->getDm ()->getReferrers ($ blog );
57
57
58
58
$ this ->assertCount (1 , $ routes );
59
- $ this ->assertInstanceOf ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRouteInterface ' , $ routes [0 ]);
59
+ $ this ->assertInstanceOf ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute ' , $ routes [0 ]);
60
60
$ this ->assertEquals ('unit-testing-blog ' , $ routes [0 ]->getName ());
61
61
$ this ->assertEquals (PhpcrOdmAdapter::TAG_NO_MULTILANG , $ routes [0 ]->getAutoRouteTag ());
62
62
}
@@ -300,7 +300,7 @@ public function testUpdateMultilangArticle($data, $expectedPaths)
300
300
$ route = $ this ->getDm ()->find (null , $ expectedPath );
301
301
302
302
$ this ->assertNotNull ($ route );
303
- $ this ->assertInstanceOf ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRouteInterface ' , $ route );
303
+ $ this ->assertInstanceOf ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute ' , $ route );
304
304
305
305
$ content = $ route ->getContent ();
306
306
@@ -435,7 +435,7 @@ public function testConflictResolverAutoIncrement()
435
435
);
436
436
437
437
foreach ($ expectedRoutes as $ expectedRoute ) {
438
- $ route = $ this ->getDm ()->find ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRouteInterface ' , $ expectedRoute );
438
+ $ route = $ this ->getDm ()->find ('Symfony\Cmf\Bundle\RoutingAutoBundle\Model\AutoRoute ' , $ expectedRoute );
439
439
$ this ->assertNotNull ($ route );
440
440
}
441
441
}
0 commit comments