Completed
Push — master ( 0c89f9...7a6f38 )
by Aimeos
01:52
created

AccountControllerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAccountAction() 0 6 1
1
<?php
2
3
namespace Aimeos\Shop\Tests\Functional\Controller;
4
5
6
class AccountControllerTest extends \TYPO3\Flow\Tests\FunctionalTestCase
7
{
8
	public function testAccountAction()
9
	{
10
		$response = $this->browser->request( 'http://localhost/unittest/myaccount/download/0', 'GET' );
11
12
		$this->assertEquals( 401, $response->getStatusCode() );
13
	}
14
}
15