diff options
author | PayBas <contact@paybas.com> | 2014-05-30 02:34:07 +0200 |
---|---|---|
committer | PayBas <contact@paybas.com> | 2014-06-05 09:59:34 +0200 |
commit | f2c7890c64082232061ba870ed6781166b1e130d (patch) | |
tree | 95a403ead38cf0ee9478f2935cc4768f68bddb91 /tests | |
parent | cd90b39a833604b982491d0c92979cf189c1f426 (diff) | |
download | forums-f2c7890c64082232061ba870ed6781166b1e130d.tar forums-f2c7890c64082232061ba870ed6781166b1e130d.tar.gz forums-f2c7890c64082232061ba870ed6781166b1e130d.tar.bz2 forums-f2c7890c64082232061ba870ed6781166b1e130d.tar.xz forums-f2c7890c64082232061ba870ed6781166b1e130d.zip |
[ticket/12613] Fix functional test and post sorting bug
PHPBB3-12613
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/paging_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/paging_test.php b/tests/functional/paging_test.php index 97ce822fdf..cfaf9104a8 100644 --- a/tests/functional/paging_test.php +++ b/tests/functional/paging_test.php @@ -30,12 +30,12 @@ class phpbb_functional_paging_test extends phpbb_functional_test_case $this->assertContains('post no4', $crawler->text()); $this->assertNotContains('post no16', $crawler->text()); - $next_link = $crawler->filter('#viewtopic > fieldset > a.arrow-right')->attr('href'); + $next_link = $crawler->filter('.pagination > ul > li.next > a')->attr('href'); $crawler = self::request('GET', $next_link); $this->assertNotContains('post no4', $crawler->text()); $this->assertContains('post no16', $crawler->text()); - $prev_link = $crawler->filter('#viewtopic > fieldset > a.arrow-left')->attr('href'); + $prev_link = $crawler->filter('.pagination > ul > li.previous > a')->attr('href'); $crawler = self::request('GET', $prev_link); $this->assertContains('post no4', $crawler->text()); $this->assertNotContains('post no16', $crawler->text()); |