File manager - Edit - /var/www/payraty/helpdesk/vendor/webklex/php-imap/tests/fixtures/UnknownEncodingTest.php
Back
<?php /* * File: UnknownEncodingTest.php * Category: - * Author: M.Goldenbaum * Created: 09.03.23 02:24 * Updated: - * * Description: * - */ namespace Tests\fixtures; /** * Class UnknownEncodingTest * * @package Tests\fixtures */ class UnknownEncodingTest extends FixtureTestCase { /** * Test the fixture unknown_encoding.eml * * @return void */ public function testFixture() : void { $message = $this->getFixture("unknown_encoding.eml"); self::assertEquals("test", $message->getSubject()); self::assertEquals("MyPlain", $message->getTextBody()); self::assertEquals("MyHtml", $message->getHTMLBody()); self::assertEquals("2017-09-27 10:48:51", $message->date->first()->setTimezone('UTC')->format("Y-m-d H:i:s")); self::assertEquals("from@there.com", $message->from->first()->mail); self::assertEquals("to@here.com", $message->to->first()->mail); } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings