1
1
<?php
2
2
3
- namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \WebTest \ Admin \ MenuNodeAdminTest ;
3
+ namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \WebTest ;
4
4
5
5
use Symfony \Cmf \Component \Testing \Functional \BaseTestCase ;
6
6
@@ -14,28 +14,28 @@ public function setUp()
14
14
$ this ->client = $ this ->createClient ();
15
15
}
16
16
17
- public function testMenuList ()
17
+ public function testRouteList ()
18
18
{
19
19
$ crawler = $ this ->client ->request ('GET ' , '/admin/cmf/routing/route/list ' );
20
20
$ res = $ this ->client ->getResponse ();
21
21
$ this ->assertEquals (200 , $ res ->getStatusCode ());
22
22
$ this ->assertCount (1 , $ crawler ->filter ('html:contains("route-1") ' ));
23
23
}
24
24
25
- public function testMenuEdit ()
25
+ public function testRouteEdit ()
26
26
{
27
27
$ crawler = $ this ->client ->request ('GET ' , '/admin/cmf/routing/route/test/routing/route-1/edit ' );
28
28
$ res = $ this ->client ->getResponse ();
29
29
$ this ->assertEquals (200 , $ res ->getStatusCode ());
30
30
$ this ->assertCount (1 , $ crawler ->filter ('input[value="route-1"] ' ));
31
31
}
32
32
33
- public function testMenuShow ()
33
+ public function testRouteShow ()
34
34
{
35
35
$ this ->markTestSkipped ('Not implemented yet. ' );
36
36
}
37
37
38
- public function testMenuCreate ()
38
+ public function testRouteCreate ()
39
39
{
40
40
$ crawler = $ this ->client ->request ('GET ' , '/admin/cmf/routing/route/create ' );
41
41
$ res = $ this ->client ->getResponse ();
0 commit comments