Файловый менеджер - Редактировать - /home/avadvi5/calendar.aeronextgen.com/davis/vendor/sabre/http/tests/HTTP/ResponseDecoratorTest.php
Ðазад
<?php declare(strict_types=1); namespace Sabre\HTTP; class ResponseDecoratorTest extends \PHPUnit\Framework\TestCase { protected $inner; protected $outer; public function setUp(): void { $this->inner = new Response(); $this->outer = new ResponseDecorator($this->inner); } public function testStatus() { $this->outer->setStatus(201); $this->assertEquals(201, $this->inner->getStatus()); $this->assertEquals(201, $this->outer->getStatus()); $this->assertEquals('Created', $this->inner->getStatusText()); $this->assertEquals('Created', $this->outer->getStatusText()); } public function testToString() { $this->inner->setStatus(201); $this->inner->setBody('foo'); $this->inner->setHeader('foo', 'bar'); $this->assertEquals((string) $this->inner, (string) $this->outer); } }
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка