mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-07 00:26:48 +01:00
* 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
20 lines
410 B
PHP
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);
|
|
}
|
|
}
|