diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-01 23:42:52 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-11-07 14:16:13 +0100 |
commit | 8a493541fa4911233fe9186e88371d17cb9fd7db (patch) | |
tree | cd4011716fbf85b29b54d33e0ca17920cb5fe6d4 /src/Wallabag/ApiBundle | |
parent | 735068d1814a4b7a688e1d19cd17b13e8c5da3eb (diff) | |
download | wallabag-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.php | 4 | ||||
-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 | ||
3 | namespace Wallabag\ApiBundle\Tests\Controller; | 3 | namespace Wallabag\ApiBundle\Tests\Controller; |
4 | 4 | ||
5 | use Wallabag\ApiBundle\Tests\AbstractControllerTest; | 5 | use Wallabag\ApiBundle\Tests\WallabagApiTestCase; |
6 | 6 | ||
7 | class WallabagRestControllerTest extends AbstractControllerTest | 7 | class 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; | |||
5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; | 5 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
6 | use Symfony\Component\BrowserKit\Cookie; | 6 | use Symfony\Component\BrowserKit\Cookie; |
7 | 7 | ||
8 | abstract class AbstractControllerTest extends WebTestCase | 8 | abstract class WallabagApiTestCase extends WebTestCase |
9 | { | 9 | { |
10 | /** | 10 | /** |
11 | * @var Client | 11 | * @var Client |