mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
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.
This commit is contained in:
parent
735068d181
commit
8a493541fa
11 changed files with 18 additions and 18 deletions
|
@ -74,6 +74,9 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
$this->assertEquals('This value should not be blank.', $alert[0]);
|
||||
}
|
||||
|
||||
/**
|
||||
* This test will require an internet connection
|
||||
*/
|
||||
public function testPostNewOk()
|
||||
{
|
||||
$this->logInAs('admin');
|
||||
|
@ -119,6 +122,9 @@ class EntryControllerTest extends WallabagCoreTestCase
|
|||
$this->assertEquals(200, $client->getResponse()->getStatusCode());
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends testPostNewOk
|
||||
*/
|
||||
public function testView()
|
||||
{
|
||||
$this->logInAs('admin');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue