forked from wallabag/wallabag
tests: add a NetworkCalls group for tests making network calls
Excluding this group can decrease the run time of tests during development. Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
This commit is contained in:
@ -45,6 +45,9 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
$this->getEntityManager()->flush();
|
||||
}
|
||||
|
||||
/**
|
||||
* @group NetworkCalls
|
||||
*/
|
||||
public function testRunReloadEntryCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
@ -70,6 +73,9 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
|
||||
$this->assertContains('Done', $tester->getDisplay());
|
||||
}
|
||||
|
||||
/**
|
||||
* @group NetworkCalls
|
||||
*/
|
||||
public function testRunReloadEntryWithUsernameCommand()
|
||||
{
|
||||
$application = new Application($this->getClient()->getKernel());
|
||||
|
||||
Reference in New Issue
Block a user