Minor - format code

pull/4002/head
Julio 3 years ago
parent af7e832429
commit e145140ee5
  1. 12
      public/main/mySpace/index.php
  2. 3
      tests/CourseBundle/Repository/CDocumentRepositoryTest.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(

@ -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);

Loading…
Cancel
Save