◆ setUp()
ilKSDocumentationGotoLinkTest::setUp |
( |
| ) |
|
|
protected |
◆ testConstruct()
ilKSDocumentationGotoLinkTest::testConstruct |
( |
| ) |
|
◆ testGenerateGotoLink()
ilKSDocumentationGotoLinkTest::testGenerateGotoLink |
( |
| ) |
|
Definition at line 39 of file ilKSDocumentationGotoLinkTest.php.
41 $link = $this->goto_link->generateGotoLink(
'nodeId',
'skinId',
'styleId');
42 $this->assertEquals(
'_nodeId_skinId_styleId', $link);
◆ testRedirectWithGotoLink()
ilKSDocumentationGotoLinkTest::testRedirectWithGotoLink |
( |
| ) |
|
Definition at line 45 of file ilKSDocumentationGotoLinkTest.php.
References $params.
47 $ctrl_observer = $this->getMockBuilder(ilCtrl::class)->disableOriginalConstructor()->onlyMethods([
48 'setParameterByClass',
53 $ctrl_observer->expects($this->once())
54 ->method(
'redirectByClass')
56 'ilAdministrationGUI',
57 'ilObjStyleSettingsGUI',
58 'ilSystemStyleMainGUI',
59 'ilSystemStyleDocumentationGUI' 62 $params = [
'something',
'something',
'nodeId',
'skinId',
'styleId'];
63 $this->goto_link->redirectWithGotoLink(
'ref_id',
$params, $ctrl_observer);
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
◆ $goto_link
The documentation for this class was generated from the following file: