FomHasRecaptchaTraitTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_initRecaptcha() 0 5 1
1
<?php
2
3
namespace ByTIC\GoogleRecaptcha\Tests\Form;
4
5
use ByTIC\GoogleRecaptcha\Tests\Fixtures\Forms\ContactForm;
6
use ByTIC\GoogleRecaptcha\Tests\AbstractTest;
7
8
/**
9
 * Class FomHasRecaptchaTraitTest
10
 * @package ByTIC\GoogleRecaptcha\Tests\Form
11
 */
12
class FomHasRecaptchaTraitTest extends AbstractTest
13
{
14
    public function test_initRecaptcha()
15
    {
16
        $form = new ContactForm();
17
        $render = $form->render();
18
        self::assertIsString($render);
19
    }
20
}
21