Remove some deprecated methods calls

This commit is contained in:
Benoît Burnichon
2016-03-06 23:05:55 +01:00
parent ba4274eb28
commit 6cdc9d7a31
77 changed files with 322 additions and 307 deletions

View File

@@ -218,7 +218,7 @@ class ManagerTest extends \PhraseanetAuthenticatedWebTestCase
$found = false;
foreach ($record->get_grouping_parents()->get_elements() as $parent_story) {
if ($parent_story->get_serialize_key() === $story->get_serialize_key()) {
if ($parent_story->get_serialize_key() === $story->getId()) {
$found = true;
}
}