mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16247] Add test not tested
PHPBB3-16247
This commit is contained in:
parent
d3749538f1
commit
17f8134a3b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
|
|
Loading…
Add table
Reference in a new issue