aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php
diff options
context:
space:
mode:
authorKevin Decherf <kevin@kdecherf.com>2020-03-10 22:22:51 +0100
committerKevin Decherf <kevin@kdecherf.com>2020-04-25 15:59:23 +0200
commit71f7e58fbd84e1d15c7a405a3c5872adb937dc37 (patch)
tree88c6761b4215637bba34b263015e87750c92a187 /tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php
parent25c754f62f2230b76d357d6201432fa141f865f2 (diff)
downloadwallabag-71f7e58fbd84e1d15c7a405a3c5872adb937dc37.tar.gz
wallabag-71f7e58fbd84e1d15c7a405a3c5872adb937dc37.tar.zst
wallabag-71f7e58fbd84e1d15c7a405a3c5872adb937dc37.zip
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>
Diffstat (limited to 'tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php b/tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php
index c4bd6dac..a0e2939c 100644
--- a/tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php
+++ b/tests/Wallabag/CoreBundle/Command/ReloadEntryCommandTest.php
@@ -45,6 +45,9 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
45 $this->getEntityManager()->flush(); 45 $this->getEntityManager()->flush();
46 } 46 }
47 47
48 /**
49 * @group NetworkCalls
50 */
48 public function testRunReloadEntryCommand() 51 public function testRunReloadEntryCommand()
49 { 52 {
50 $application = new Application($this->getClient()->getKernel()); 53 $application = new Application($this->getClient()->getKernel());
@@ -70,6 +73,9 @@ class ReloadEntryCommandTest extends WallabagCoreTestCase
70 $this->assertContains('Done', $tester->getDisplay()); 73 $this->assertContains('Done', $tester->getDisplay());
71 } 74 }
72 75
76 /**
77 * @group NetworkCalls
78 */
73 public function testRunReloadEntryWithUsernameCommand() 79 public function testRunReloadEntryWithUsernameCommand()
74 { 80 {
75 $application = new Application($this->getClient()->getKernel()); 81 $application = new Application($this->getClient()->getKernel());