|
| setUp () |
| Http services has no additional deps so far to be set up. More...
|
|
Definition at line 7 of file InitHttpServicesTest.php.
◆ setUp()
InitHttpServicesTest::setUp |
( |
| ) |
|
|
protected |
Http services has no additional deps so far to be set up.
Definition at line 17 of file InitHttpServicesTest.php.
19 $this->dic = new \ILIAS\DI\Container();
◆ testUIFrameworkInitialization()
InitHttpServicesTest::testUIFrameworkInitialization |
( |
| ) |
|
Definition at line 22 of file InitHttpServicesTest.php.
24 $this->assertFalse(isset($this->dic[
'http']));
25 $this->assertFalse(isset($this->dic[
'http.response_sender_strategy']));
26 $this->assertFalse(isset($this->dic[
'http.cookie_jar_factory']));
27 $this->assertFalse(isset($this->dic[
'http.request_factory']));
28 $this->assertFalse(isset($this->dic[
'http.response_factory']));
29 (new \InitHttpServices())->init($this->dic);
30 $this->assertInstanceOf(
"ILIAS\HTTP\Services", $this->dic->http());
31 $this->assertTrue(isset($this->dic[
'http']));
32 $this->assertTrue(isset($this->dic[
'http.response_sender_strategy']));
33 $this->assertTrue(isset($this->dic[
'http.cookie_jar_factory']));
34 $this->assertTrue(isset($this->dic[
'http.request_factory']));
35 $this->assertTrue(isset($this->dic[
'http.response_factory']));
◆ $dic
InitHttpServicesTest::$dic |
|
protected |
The documentation for this class was generated from the following file: