diff --git a/public/main/mySpace/index.php b/public/main/mySpace/index.php index 562b4ca52d..2099972405 100644 --- a/public/main/mySpace/index.php +++ b/public/main/mySpace/index.php @@ -73,12 +73,12 @@ if ($is_platform_admin) { Display::return_icon('statistics.png', get_lang('Current courses report'), [], ICON_SIZE_MEDIUM), api_get_path(WEB_CODE_PATH).'mySpace/current_courses.php' ); - /* - $menu_items[] = Display::url( - Display::return_icon('dashboard.png', get_lang('Dashboard'), [], ICON_SIZE_MEDIUM), - api_get_path(WEB_CODE_PATH).'dashboard/index.php' - ); - */ + /* + $menu_items[] = Display::url( + Display::return_icon('dashboard.png', get_lang('Dashboard'), [], ICON_SIZE_MEDIUM), + api_get_path(WEB_CODE_PATH).'dashboard/index.php' + ); + */ } else { $menu_items[] = Display::url( Display::return_icon( diff --git a/tests/CourseBundle/Repository/CDocumentRepositoryTest.php b/tests/CourseBundle/Repository/CDocumentRepositoryTest.php index 89b92f8969..d3d04ae77d 100644 --- a/tests/CourseBundle/Repository/CDocumentRepositoryTest.php +++ b/tests/CourseBundle/Repository/CDocumentRepositoryTest.php @@ -16,6 +16,7 @@ use Chamilo\CourseBundle\Entity\CGroup; use Chamilo\CourseBundle\Repository\CDocumentRepository; use Chamilo\Tests\AbstractApiTest; use Chamilo\Tests\ChamiloTestTrait; +use LogicException; use Symfony\Component\HttpFoundation\Request; class CDocumentRepositoryTest extends AbstractApiTest @@ -820,7 +821,7 @@ class CDocumentRepositoryTest extends AbstractApiTest $link = $document->getFirstResourceLink(); - $this->expectException(\LogicException::class); + $this->expectException(LogicException::class); $link->setVisibility(888); $link->setUserGroup(null);