3 namespace Tests\Wallabag\ApiBundle\Controller
;
5 use Tests\Wallabag\ApiBundle\WallabagApiTestCase
;
7 class TaggingRuleRestControllerTest
extends WallabagApiTestCase
9 public function testExportEntry()
11 $this->client
->request('GET', '/api/taggingrule/export');
12 $this->assertSame(200, $this->client
->getResponse()->getStatusCode());
13 $this->assertSame('application/json', $this->client
->getResponse()->headers
->get('Content-Type'));