aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/ApiBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-11-01 23:42:52 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-11-07 14:16:13 +0100
commit8a493541fa4911233fe9186e88371d17cb9fd7db (patch)
treecd4011716fbf85b29b54d33e0ca17920cb5fe6d4 /src/Wallabag/ApiBundle
parent735068d1814a4b7a688e1d19cd17b13e8c5da3eb (diff)
downloadwallabag-8a493541fa4911233fe9186e88371d17cb9fd7db.tar.gz
wallabag-8a493541fa4911233fe9186e88371d17cb9fd7db.tar.zst
wallabag-8a493541fa4911233fe9186e88371d17cb9fd7db.zip
Re-enable test on doctrine command
It will slow down the whole test suite (because it'll use doctrine command). Remove unecessary `KernelTestCase`. Also rename `AbstractControllerTest` to `WallabagApiTestCase` for consistency.
Diffstat (limited to 'src/Wallabag/ApiBundle')
-rw-r--r--src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php4
-rw-r--r--src/Wallabag/ApiBundle/Tests/WallabagApiTestCase.php (renamed from src/Wallabag/ApiBundle/Tests/AbstractControllerTest.php)2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php
index bc7ef489..bdd36e0c 100644
--- a/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php
+++ b/src/Wallabag/ApiBundle/Tests/Controller/WallabagRestControllerTest.php
@@ -2,9 +2,9 @@
2 2
3namespace Wallabag\ApiBundle\Tests\Controller; 3namespace Wallabag\ApiBundle\Tests\Controller;
4 4
5use Wallabag\ApiBundle\Tests\AbstractControllerTest; 5use Wallabag\ApiBundle\Tests\WallabagApiTestCase;
6 6
7class WallabagRestControllerTest extends AbstractControllerTest 7class WallabagRestControllerTest extends WallabagApiTestCase
8{ 8{
9 protected static $salt; 9 protected static $salt;
10 10
diff --git a/src/Wallabag/ApiBundle/Tests/AbstractControllerTest.php b/src/Wallabag/ApiBundle/Tests/WallabagApiTestCase.php
index 09cde0f6..8a57fea2 100644
--- a/src/Wallabag/ApiBundle/Tests/AbstractControllerTest.php
+++ b/src/Wallabag/ApiBundle/Tests/WallabagApiTestCase.php
@@ -5,7 +5,7 @@ namespace Wallabag\ApiBundle\Tests;
5use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; 5use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
6use Symfony\Component\BrowserKit\Cookie; 6use Symfony\Component\BrowserKit\Cookie;
7 7
8abstract class AbstractControllerTest extends WebTestCase 8abstract class WallabagApiTestCase extends WebTestCase
9{ 9{
10 /** 10 /**
11 * @var Client 11 * @var Client