ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
NewsContextTest.php
Go to the documentation of this file.
1<?php
2
19use PHPUnit\Framework\TestCase;
20
24class NewsContextTest extends TestCase
25{
26 protected function tearDown(): void
27 {
28 }
29
33 public function testContextProperties(): void
34 {
36 1,
37 "otype",
38 2,
39 "osubtype"
40 );
41
42 $this->assertEquals(
43 1,
44 $context->getObjId()
45 );
46 $this->assertEquals(
47 "otype",
48 $context->getObjType()
49 );
50 $this->assertEquals(
51 2,
52 $context->getSubId()
53 );
54 $this->assertEquals(
55 "osubtype",
56 $context->getSubType()
57 );
58 }
59}
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:31