for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace MovingImage\Bundle\VMProApiBundle\Tests\DependencyInjection;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Yaml\Parser;
abstract class AbstractTestCase extends TestCase
{
/**
* Get empty configuration set.
*/
protected function getEmptyConfig(): array
$yaml = <<<'EOF'
vm_pro_api:
credentials:
username: ~
password: ~
EOF;
$parser = new Parser();
return $parser->parse($yaml);
}
protected function getFullConfig(): array
base_url: http://google.com/
default_vm_id: 5
username: [email protected]
password: test_password