]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/DataFixtures/ORM/LoadEntryData.php
Hash the urls to check if they exist
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / DataFixtures / ORM / LoadEntryData.php
index fedad00993f6b3b5ff354f72c74bcea76e3e9c46..2288261214fb9c39ac34d70daeefe54e164686ac 100644 (file)
@@ -32,6 +32,7 @@ class LoadEntryData extends AbstractFixture implements OrderedFixtureInterface
 
         $entry2 = new Entry($this->getReference('admin-user'));
         $entry2->setUrl('http://0.0.0.0/entry2');
+        $entry2->setHashedUrl(hash('sha512', 'http://0.0.0.0/entry2'));
         $entry2->setReadingTime(1);
         $entry2->setDomainName('domain.io');
         $entry2->setMimetype('text/html');