1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

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:
Kevin Decherf 2020-03-10 22:22:51 +01:00
parent 25c754f62f
commit 71f7e58fbd
3 changed files with 30 additions and 5 deletions

View file

@ -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());