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

JsonDataApiTest::canInitSchemaManager()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
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