mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-14 21:43:18 +00:00
24 lines
407 B
PHP
24 lines
407 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Api;
|
|
|
|
use Symfony\Component\Yaml\Yaml;
|
|
|
|
class ApiYamlTest extends ApiTestCase
|
|
{
|
|
protected function getParameters(array $parameters = [])
|
|
{
|
|
return $parameters;
|
|
}
|
|
|
|
protected function unserialize($data)
|
|
{
|
|
return Yaml::parse($data);
|
|
}
|
|
|
|
protected function getAcceptMimeType()
|
|
{
|
|
return 'text/yaml';
|
|
}
|
|
}
|