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:
parent
25c754f62f
commit
71f7e58fbd
3 changed files with 30 additions and 5 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue