$this->getEntityManager()->flush();
}
+ /**
+ * @group NetworkCalls
+ */
public function testRunReloadEntryCommand()
{
$application = new Application($this->getClient()->getKernel());
$this->assertContains('Done', $tester->getDisplay());
}
+ /**
+ * @group NetworkCalls
+ */
public function testRunReloadEntryWithUsernameCommand()
{
$application = new Application($this->getClient()->getKernel());
$this->assertContains('login', $client->getResponse()->headers->get('location'));
}
+ /**
+ * @group NetworkCalls
+ */
public function testQuickstart()
{
$this->logInAs('empty');
$this->assertCount(1, $crawler->filter('form[name=entry]'));
}
+ /**
+ * @group NetworkCalls
+ */
public function testPostNewViaBookmarklet()
{
$this->logInAs('admin');
}
/**
- * This test will require an internet connection.
+ * @group NetworkCalls
*/
public function testPostNewOk()
{
$client->getContainer()->get('craue_config')->set('store_article_headers', 0);
}
+ /**
+ * @group NetworkCalls
+ */
public function testPostWithMultipleAuthors()
{
$url = 'https://www.liberation.fr/planete/2017/04/05/donald-trump-et-xi-jinping-tentative-de-flirt-en-floride_1560768';
$this->assertContains('/view/', $client->getResponse()->getTargetUrl());
}
+ /**
+ * @group NetworkCalls
+ */
public function testPostNewOkUrlExistWithAccent()
{
$this->logInAs('admin');
}
/**
- * This test will require an internet connection.
+ * @group NetworkCalls
*/
public function testPostNewOkUrlExistWithRedirection()
{
}
/**
- * This test will require an internet connection.
+ * @group NetworkCalls
*/
public function testPostNewThatWillBeTagged()
{
}
/**
- * This test will require an internet connection.
+ * @group NetworkCalls
*/
public function testReload()
{
$this->assertSame(404, $client->getResponse()->getStatusCode());
}
+ /**
+ * @group NetworkCalls
+ */
public function testNewEntryWithDownloadImagesEnabled()
{
$this->downloadImagesEnabled = true;
/**
* @dataProvider dataForLanguage
+ * @group NetworkCalls
*/
public function testLanguageValidation($url, $expectedLanguage)
{
}
/**
- * This test will require an internet connection.
+ * @group NetworkCalls
*/
public function testRestrictedArticle()
{