Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
2 / 2
CRAP
100.00% covered (success)
100.00%
1 / 1
FixtureUtils
100.00% covered (success)
100.00%
5 / 5
100.00% covered (success)
100.00%
2 / 2
3
100.00% covered (success)
100.00%
1 / 1
 getOpenapiFixtureFile
100.00% covered (success)
100.00%
4 / 4
100.00% covered (success)
100.00%
1 / 1
2
 shouldOverwriteWebdavFixtures
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2
3namespace Apie\IntegrationTests;
4
5use Apie\IntegrationTests\Interfaces\TestApplicationInterface;
6
7class FixtureUtils
8{
9    public static function getOpenapiFixtureFile(TestApplicationInterface $testApplication, bool $json = true): string
10    {
11        return __DIR__
12            . '/../fixtures/RestApi/openapi'
13            . $testApplication->getApplicationConfig()->getDatalayerImplementation()->getShortName()
14            . ($json ? '.json' : '.yaml');
15    }
16
17    public static function shouldOverwriteWebdavFixtures(): bool
18    {
19        return true;
20    }
21}