aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ApiBundle
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2019-07-08 12:48:25 +0200
committerGitHub <noreply@github.com>2019-07-08 12:48:25 +0200
commit8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a (patch)
treed635438784c4b02e1d182cfbc3d47b62e5032f1d /tests/Wallabag/ApiBundle
parent92cd51aa2c29e23f137cde9b9732ced33ff38e59 (diff)
parent34be2d5de44ade2a78be73decc0b90a2c1bca720 (diff)
downloadwallabag-8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a.tar.gz
wallabag-8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a.tar.zst
wallabag-8effd6e99e5a1f1d0d663ee77b0f5015220d1b4a.zip
Merge pull request #4028 from wallabag/feature/import-export-tagging-rules
Add ability to import/export tagging rules
Diffstat (limited to 'tests/Wallabag/ApiBundle')
-rw-r--r--tests/Wallabag/ApiBundle/Controller/TaggingRuleRestControllerTest.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/TaggingRuleRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/TaggingRuleRestControllerTest.php
new file mode 100644
index 00000000..b6477256
--- /dev/null
+++ b/tests/Wallabag/ApiBundle/Controller/TaggingRuleRestControllerTest.php
@@ -0,0 +1,15 @@
1<?php
2
3namespace Tests\Wallabag\ApiBundle\Controller;
4
5use Tests\Wallabag\ApiBundle\WallabagApiTestCase;
6
7class TaggingRuleRestControllerTest extends WallabagApiTestCase
8{
9 public function testExportEntry()
10 {
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'));
14 }
15}