@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | */ |
29 | 29 | public function indexAction() |
30 | 30 | { |
31 | - $params = $this->get( 'aimeos_page' )->getSections( 'account-index' ); |
|
32 | - return $this->render( 'AimeosShopBundle:Account:index.html.twig', $params ); |
|
31 | + $params = $this->get('aimeos_page')->getSections('account-index'); |
|
32 | + return $this->render('AimeosShopBundle:Account:index.html.twig', $params); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | */ |
41 | 41 | public function downloadAction() |
42 | 42 | { |
43 | - $params = $this->get( 'aimeos_page' )->getSections( 'account-download' ); |
|
44 | - return $this->render( 'AimeosShopBundle:Account:download.html.twig', $params ); |
|
43 | + $params = $this->get('aimeos_page')->getSections('account-download'); |
|
44 | + return $this->render('AimeosShopBundle:Account:download.html.twig', $params); |
|
45 | 45 | } |
46 | 46 | } |
@@ -10,17 +10,17 @@ |
||
10 | 10 | public function testAccount() |
11 | 11 | { |
12 | 12 | $client = static::createClient(); |
13 | - $client->request( 'GET', '/unittest/de/EUR/myaccount' ); |
|
13 | + $client->request('GET', '/unittest/de/EUR/myaccount'); |
|
14 | 14 | |
15 | - $this->assertContains( 'aimeos account-history', $client->getResponse()->getContent() ); |
|
15 | + $this->assertContains('aimeos account-history', $client->getResponse()->getContent()); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | |
19 | 19 | public function testDownload() |
20 | 20 | { |
21 | 21 | $client = static::createClient(); |
22 | - $client->request( 'GET', '/unittest/de/EUR/myaccount/download/0' ); |
|
22 | + $client->request('GET', '/unittest/de/EUR/myaccount/download/0'); |
|
23 | 23 | |
24 | - $this->assertEquals( 200, $client->getResponse()->getStatusCode() ); |
|
24 | + $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
|
25 | 25 | } |
26 | 26 | } |