mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 22:51:23 +02:00
[ticket/16247] Add test not tested
PHPBB3-16247
This commit is contained in:
@@ -85,7 +85,7 @@ class phpbb_functional_private_messages_test extends phpbb_functional_test_case
|
|||||||
public function test_quote_pm()
|
public function test_quote_pm()
|
||||||
{
|
{
|
||||||
$text = 'This is a test private message sent by the testing framework.';
|
$text = 'This is a test private message sent by the testing framework.';
|
||||||
$expected = "(\\[quote=admin time=\\d+ user_id=2\\]\n" . $text . "\n\\[/quote\\])";
|
$expected = "(\\[quote=admin msg_id=\\d+ time=\\d+ user_id=2\\]\n" . $text . "\n\\[/quote\\])";
|
||||||
|
|
||||||
$this->login();
|
$this->login();
|
||||||
$message_id = $this->create_private_message('Test', $text, array(2));
|
$message_id = $this->create_private_message('Test', $text, array(2));
|
||||||
|
Reference in New Issue
Block a user