mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix Border Manager tests
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user