Completed
Push — master ( be0721...cced22 )
by Matthew
02:48
created

TopEditsControllerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 2
dl 0
loc 15
rs 10
1
<?php
2
/**
3
 * This file contains only the TopEditsControllerTest class.
4
 */
5
6
namespace Tests\AppBundle\Controller;
7
8
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
9
10
/**
11
 * Integration tests for the Top Edits tool.
12
 * @group integration
13
 */
14
class TopEditsControllerTest extends WebTestCase
15
{
16
17
    /**
18
     * Test that the form can be retrieved.
19
     */
20
    public function testIndex()
21
    {
22
        $client = static::createClient();
23
24
        // Check basics.
25
        $crawler = $client->request('GET', '/topedits');
26
        $this->assertEquals(200, $client->getResponse()->getStatusCode());
27
    }
28
}
29