mirror of
https://github.com/wallabag/wallabag.git
synced 2024-09-23 20:10:04 +00:00
16 lines
476 B
PHP
16 lines
476 B
PHP
|
<?php
|
||
|
|
||
|
namespace Tests\Wallabag\ApiBundle\Controller;
|
||
|
|
||
|
use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
|
||
|
|
||
|
class TaggingRuleRestControllerTest extends WallabagApiTestCase
|
||
|
{
|
||
|
public function testExportEntry()
|
||
|
{
|
||
|
$this->client->request('GET', '/api/taggingrule/export');
|
||
|
$this->assertSame(200, $this->client->getResponse()->getStatusCode());
|
||
|
$this->assertSame('application/json', $this->client->getResponse()->headers->get('Content-Type'));
|
||
|
}
|
||
|
}
|