mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 02:48:56 +00:00
[ticket/16138] Remove redundant specifiers from functional test URLs
PHPBB3-16138
This commit is contained in:
parent
3f9e6c6013
commit
84b414a4f0
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
|||
$this->assertStringContainsString('This is a test post posted by the testing framework.', $crawler->filter('html')->text());
|
||||
|
||||
// Test quoting a message
|
||||
$crawler = self::request('GET', "posting.php?mode=quote&t={$post2['topic_id']}&p={$post2['post_id']}&sid={$this->sid}");
|
||||
$crawler = self::request('GET', "posting.php?mode=quote&p={$post2['post_id']}&sid={$this->sid}");
|
||||
$this->assertStringContainsString('This is a test post posted by the testing framework.', $crawler->filter('html')->text());
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,7 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
|||
$topic = $this->create_topic(2, 'Test Topic 1', 'Test topic');
|
||||
$post = $this->create_post(2, $topic['topic_id'], 'Re: Test Topic 1', $text);
|
||||
|
||||
$crawler = self::request('GET', "posting.php?mode=quote&t={$post['topic_id']}&p={$post['post_id']}&sid={$this->sid}");
|
||||
$crawler = self::request('GET', "posting.php?mode=quote&p={$post['post_id']}&sid={$this->sid}");
|
||||
|
||||
$this->assertRegexp($expected, $crawler->filter('textarea#message')->text());
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ class phpbb_functional_posting_test extends phpbb_functional_test_case
|
|||
$this->login();
|
||||
$topic = $this->create_topic(2, 'Test Topic 1', 'Test topic');
|
||||
$post = $this->create_post(2, $topic['topic_id'], 'Re: Test Topic 1', $text);
|
||||
$quote_url = "posting.php?mode=quote&t={$post['topic_id']}&p={$post['post_id']}&sid={$this->sid}";
|
||||
$quote_url = "posting.php?mode=quote&p={$post['post_id']}&sid={$this->sid}";
|
||||
|
||||
$this->admin_login();
|
||||
foreach ($expected as $quote_depth => $expected_text)
|
||||
|
|
Loading…
Add table
Reference in a new issue