mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/16153] Functional test 2
PHPBB3-16153
This commit is contained in:
parent
bcac30c8bb
commit
41728f2258
1 changed files with 4 additions and 7 deletions
|
@ -41,13 +41,10 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
||||||
{
|
{
|
||||||
$this->login();
|
$this->login();
|
||||||
|
|
||||||
$this->add_lang('posting');
|
$post = $this->create_topic(2, "Test Topic \xF0\x9F\xA4\x94 3\xF0\x9D\x94\xBB\xF0\x9D\x95\x9A", 'This is a test with emoji character in the topic title.');
|
||||||
|
$this->create_post(2, $post['topic_id'], "Re: Test Topic 1 \xF0\x9F\xA4\x94 3\xF0\x9D\x94\xBB\xF0\x9D\x95\x9A", 'This is a test with emoji characters in the topic title.');
|
||||||
self::create_post(2,
|
$crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}");
|
||||||
1,
|
$this->assertContains("\xF0\x9F\xA4\x94 3\xF0\x9D\x94\xBB\xF0\x9D\x95\x9A", $crawler->text());
|
||||||
"Unsupported: \xF0\x9F\x88\xB3 \xF0\x9F\x9A\xB6",
|
|
||||||
'This is a test with emoji characters in the topic title.'
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_supported_unicode_characters()
|
public function test_supported_unicode_characters()
|
||||||
|
|
Loading…
Add table
Reference in a new issue