Files
roundcubemail/tests/Framework/Message.php
Michael Voříšek 6a53a1d853 Fix CS (whitespace, visibility) (#9297)
* Fix "method_argument_space"

* Fix "control_structure_continuation_position"

* Fix "new_with_parentheses"

* Fix "blank_line_before_statement"

* Fix "visibility_required"

* Fix some "array_indentation"

* Fix some "array_indentation" - unify all "rcube::raise_error" calls

* rm useless eslint ignores and add rules counts

* sort eslint ignores

* fix eslint ignores grammar

* Revert "Fix "blank_line_before_statement""

* fix CS 3.46.0
2024-01-04 14:26:35 +01:00

20 lines
410 B
PHP

<?php
/**
* Test class to test rcube_message class
*/
class Framework_Message extends PHPUnit\Framework\TestCase
{
/**
* Test format_part_body() method
*/
public function test_format_part_body()
{
$part = new rcube_message_part();
$body = 'test';
$result = rcube_message::format_part_body($body, $part);
$this->assertSame('test', $result);
}
}