mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-19 16:03:14 +00:00
29 lines
467 B
PHP
29 lines
467 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Api;
|
|
|
|
use Symfony\Component\Yaml\Yaml;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
* @group web
|
|
*/
|
|
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';
|
|
}
|
|
}
|