ILIAS  release_8 Revision v8.24
NewsContextTest.php
Go to the documentation of this file.
1<?php
2
3use PHPUnit\Framework\TestCase;
4
8class NewsContextTest extends TestCase
9{
10 protected function tearDown(): void
11 {
12 }
13
17 public function testContextProperties(): void
18 {
20 1,
21 "otype",
22 2,
23 "osubtype"
24 );
25
26 $this->assertEquals(
27 1,
28 $context->getObjId()
29 );
30 $this->assertEquals(
31 "otype",
32 $context->getObjType()
33 );
34 $this->assertEquals(
35 2,
36 $context->getSubId()
37 );
38 $this->assertEquals(
39 "osubtype",
40 $context->getSubType()
41 );
42 }
43}
testContextProperties()
Test admin view.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$context
Definition: webdav.php:29