forked from wallabag/wallabag
committed by
Nicolas Lœuillet
parent
85065b509f
commit
20578f0b8e
@ -85,6 +85,7 @@ class EntryFixtures extends Fixture implements DependentFixtureInterface
|
||||
'language' => 'de',
|
||||
'archived' => true,
|
||||
'tags' => ['bar-tag'],
|
||||
'is_not_parsed' => true,
|
||||
],
|
||||
];
|
||||
|
||||
@ -120,6 +121,10 @@ class EntryFixtures extends Fixture implements DependentFixtureInterface
|
||||
$entry->setPreviewPicture($item['preview']);
|
||||
}
|
||||
|
||||
if (isset($item['is_not_parsed'])) {
|
||||
$entry->setNotParsed($item['is_not_parsed']);
|
||||
}
|
||||
|
||||
$manager->persist($entry);
|
||||
$this->addReference($reference, $entry);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user