mirror of
https://github.com/wallabag/wallabag.git
synced 2024-06-15 19:50:40 +00:00
34be2d5de4
- Add missing translations - Add some tests - Add `/api/taggingrule/export` API endpoint - Add baggy theme - Add error message when importing tagging rules failed - Also fix all translations (I think we are good now)
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'));
|
|
}
|
|
}
|