mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 04:23:19 +00:00
22 lines
386 B
PHP
22 lines
386 B
PHP
<?php
|
|
|
|
namespace Alchemy\Tests\Phrasea\Controller\Api;
|
|
|
|
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';
|
|
}
|
|
}
|