Skip to content

Commit 5e42405

Browse files
-
1 parent d4929ee commit 5e42405

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
namespace App\Tests\Controller;
4+
5+
/**
6+
* @Route("/admin")
7+
*/
8+
class AppSubscriptionsControllerTest extends AbstractAppControllerTest
9+
{
10+
/**
11+
* @Route("/subscriptions", name="app_subscriptions")
12+
*/
13+
public function testIndex()
14+
{
15+
$this->client->request('GET', '/admin/subscriptions');
16+
17+
$this->assertResponseStatusCodeSame(200);
18+
$this->assertPageTitleSame('Subscriptions');
19+
}
20+
}

0 commit comments

Comments
 (0)