diff --git a/src/CoreBundle/Entity/AbstractResource.php b/src/CoreBundle/Entity/AbstractResource.php index 9987ddbfe7..b760d9bee1 100644 --- a/src/CoreBundle/Entity/AbstractResource.php +++ b/src/CoreBundle/Entity/AbstractResource.php @@ -82,7 +82,7 @@ abstract class AbstractResource 'course:read', 'illustration:read', 'message:read', - 'c_tool_intro:read' + 'c_tool_intro:read', ])] public ?ResourceNode $resourceNode = null; diff --git a/tests/CourseBundle/Repository/CToolIntroRepositoryTest.php b/tests/CourseBundle/Repository/CToolIntroRepositoryTest.php index 16f1cb7982..459d9f5b03 100644 --- a/tests/CourseBundle/Repository/CToolIntroRepositoryTest.php +++ b/tests/CourseBundle/Repository/CToolIntroRepositoryTest.php @@ -95,9 +95,9 @@ class CToolIntroRepositoryTest extends AbstractApiTest 'resourceLinkList' => [ [ 'cid' => $course->getId(), - 'visibility' => ResourceLink::VISIBILITY_PUBLISHED - ] - ] + 'visibility' => ResourceLink::VISIBILITY_PUBLISHED, + ], + ], ], ] );