diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-28 14:53:04 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-28 14:53:04 +0200 |
commit | d5fbb570c974fe8b6f64356772f7cd60b96419da (patch) | |
tree | c4cfdd0459473d28707b373b53ddee3cc32ac844 /src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | |
parent | 35941d57ee4d06ec3557d4b126d5f6fd263bcf3a (diff) | |
download | wallabag-d5fbb570c974fe8b6f64356772f7cd60b96419da.tar.gz wallabag-d5fbb570c974fe8b6f64356772f7cd60b96419da.tar.zst wallabag-d5fbb570c974fe8b6f64356772f7cd60b96419da.zip |
Hash the urls to check if they exist
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php')
-rw-r--r-- | src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php index fedad009..22882612 100644 --- a/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php +++ b/src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php | |||
@@ -32,6 +32,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface | |||
32 | 32 | ||
33 | $entry2 = new Entry($this->getReference('admin-user')); | 33 | $entry2 = new Entry($this->getReference('admin-user')); |
34 | $entry2->setUrl('http://0.0.0.0/entry2'); | 34 | $entry2->setUrl('http://0.0.0.0/entry2'); |
35 | $entry2->setHashedUrl(hash('sha512', 'http://0.0.0.0/entry2')); | ||
35 | $entry2->setReadingTime(1); | 36 | $entry2->setReadingTime(1); |
36 | $entry2->setDomainName('domain.io'); | 37 | $entry2->setDomainName('domain.io'); |
37 | $entry2->setMimetype('text/html'); | 38 | $entry2->setMimetype('text/html'); |