wallabag/tests/Wallabag/CoreBundle/Controller/Api/TaggingRuleRestControllerTest.php

14 lines
430 B
PHP
Raw Normal View History

<?php
2023-12-31 08:28:37 +00:00
namespace Tests\Wallabag\CoreBundle\Controller\Api;
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'));
}
}