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/CoreBundle/Tests/Controller | |
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/CoreBundle/Tests/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php index 5ac39d12..0bd7d4fe 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php | |||
@@ -74,6 +74,9 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
74 | $this->assertEquals('This value should not be blank.', $alert[0]); | 74 | $this->assertEquals('This value should not be blank.', $alert[0]); |
75 | } | 75 | } |
76 | 76 | ||
77 | /** | ||
78 | * This test will require an internet connection | ||
79 | */ | ||
77 | public function testPostNewOk() | 80 | public function testPostNewOk() |
78 | { | 81 | { |
79 | $this->logInAs('admin'); | 82 | $this->logInAs('admin'); |
@@ -119,6 +122,9 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
119 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); | 122 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
120 | } | 123 | } |
121 | 124 | ||
125 | /** | ||
126 | * @depends testPostNewOk | ||
127 | */ | ||
122 | public function testView() | 128 | public function testView() |
123 | { | 129 | { |
124 | $this->logInAs('admin'); | 130 | $this->logInAs('admin'); |