Fix Border Manager tests

This commit is contained in:
Romain Neutron
2012-09-25 17:09:52 +02:00
parent 85c7d07d9d
commit e6edccb19b

View File

@@ -204,8 +204,8 @@ class ManagerTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
$found = false; $found = false;
foreach ($record->get_grouping_parents()->get_elements() as $story) { foreach ($record->get_grouping_parents()->get_elements() as $parent_story) {
if ($story->get_serialize_key() === self::$records['record_story_1']->get_serialize_key()) { if ($parent_story->get_serialize_key() === $story->get_serialize_key()) {
$found = true; $found = true;
} }
} }