PageControllerTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 5
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 5
b 0
f 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testIndexAction() 0 7 1
1
<?php
2
3
class PageControllerTest extends AimeosTestAbstract
4
{
5
	public function testIndexAction()
6
	{
7
		View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
8
9
		$response = $this->action( 'GET', '\Aimeos\Shop\Controller\PageController@indexAction', ['site' => 'unittest', 'path' => 'contact'] );
10
11
		$this->assertEquals( 200, $response->getStatusCode() );
12
	}
13
}