mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
Fix typo
This commit is contained in:
parent
eb3754509d
commit
26e2f07419
1 changed files with 3 additions and 3 deletions
|
@ -10,7 +10,7 @@ use Wallabag\CoreBundle\Helper\ContentProxy;
|
||||||
|
|
||||||
class EntryControllerTest extends WallabagCoreTestCase
|
class EntryControllerTest extends WallabagCoreTestCase
|
||||||
{
|
{
|
||||||
const An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE = 'http://www.lemonde.fr/judo/article/2017/11/11/judo-la-decima-de-teddy-riner_5213605_1556020.html';
|
const AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE = 'http://www.lemonde.fr/judo/article/2017/11/11/judo-la-decima-de-teddy-riner_5213605_1556020.html';
|
||||||
public $downloadImagesEnabled = false;
|
public $downloadImagesEnabled = false;
|
||||||
public $url = 'http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html';
|
public $url = 'http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html';
|
||||||
|
|
||||||
|
@ -1018,7 +1018,7 @@ class EntryControllerTest extends WallabagCoreTestCase
|
||||||
$this->logInAs('admin');
|
$this->logInAs('admin');
|
||||||
$client = $this->getClient();
|
$client = $this->getClient();
|
||||||
|
|
||||||
$url = self::An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
|
$url = self::AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
|
||||||
$client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
|
$client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
|
||||||
|
|
||||||
$crawler = $client->request('GET', '/new');
|
$crawler = $client->request('GET', '/new');
|
||||||
|
@ -1060,7 +1060,7 @@ class EntryControllerTest extends WallabagCoreTestCase
|
||||||
$this->logInAs('admin');
|
$this->logInAs('admin');
|
||||||
$client = $this->getClient();
|
$client = $this->getClient();
|
||||||
|
|
||||||
$url = self::An_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
|
$url = self::AN_URL_CONTAINING_AN_ARTICLE_WITH_IMAGE;
|
||||||
$client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
|
$client->getContainer()->get('craue_config')->set('download_images_enabled', 1);
|
||||||
|
|
||||||
$crawler = $client->request('GET', '/new');
|
$crawler = $client->request('GET', '/new');
|
||||||
|
|
Loading…
Reference in a new issue