mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14000] Replaced test content with non-emoji characters
PHPBB3-14000
This commit is contained in:
parent
ca671708cb
commit
0d52d36b37
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
||||||
$this->login();
|
$this->login();
|
||||||
|
|
||||||
$post = $this->create_topic(2, 'Test Topic 1', 'This is a test topic posted by the testing framework.');
|
$post = $this->create_topic(2, 'Test Topic 1', 'This is a test topic posted by the testing framework.');
|
||||||
$this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', "This is a test with these weird characters: \xF0\x9F\x88\xB3 \xF0\x9F\x9A\xB6");
|
$this->create_post(2, $post['topic_id'], 'Re: Test Topic 1', "This is a test with these weird characters: \xF0\x9F\x84\x90 \xF0\x9F\x84\x91");
|
||||||
$crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}");
|
$crawler = self::request('GET', "viewtopic.php?t={$post['topic_id']}&sid={$this->sid}");
|
||||||
$this->assertContains("\xF0\x9F\x88\xB3 \xF0\x9F\x9A\xB6", $crawler->text());
|
$this->assertContains("\xF0\x9F\x84\x90 \xF0\x9F\x84\x91", $crawler->text());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_html_entities()
|
public function test_html_entities()
|
||||||
|
|
Loading…
Add table
Reference in a new issue