mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
27 lines
446 B
PHP
27 lines
446 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Api;
|
|
|
|
/**
|
|
* @group functional
|
|
* @group legacy
|
|
* @group web
|
|
*/
|
|
class ApiJsonTest extends ApiTestCase
|
|
{
|
|
protected function getParameters(array $parameters = [])
|
|
{
|
|
return $parameters;
|
|
}
|
|
|
|
protected function unserialize($data)
|
|
{
|
|
return json_decode($data, true);
|
|
}
|
|
|
|
protected function getAcceptMimeType()
|
|
{
|
|
return 'application/json';
|
|
}
|
|
}
|