Completed
Pull Request — master (#74)
by John
03:17 queued 38s
created

JsonDataApiTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A canInitSchemaManager() 0 4 1
1
<?php
2
/*
3
 * This file is part of the KleijnWeb\SwaggerBundle package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace KleijnWeb\SwaggerBundle\Tests\Functional;
10
11
use KleijnWeb\SwaggerBundle\Test\ApiTestCase;
12
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
13
14
/**
15
 * @author John Kleijn <[email protected]>
16
 */
17
class JsonDataApiTest extends WebTestCase
18
{
19
    use ApiTestCase;
20
21
    /**
22
     * Use config_basic.yml
23
     *
24
     * @var bool
25
     */
26
    protected $env = 'basic';
27
28
    /**
29
     * @test
30
     */
31
    public function canInitSchemaManager()
32
    {
33
        static::initSchemaManager(__DIR__ . '/PetStore/app/swagger/data.json');
34
    }
35
}
36