diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-10-28 10:02:53 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-10-28 10:02:53 +0100 |
commit | 0682e5719d55a10485050dc1fc7561c32e6b3fb8 (patch) | |
tree | 808fe81e37131b4414bd91abf8593c5adc82ad6c /tests | |
parent | b9c08cddd47b39355458e828d847c34ab0e8c378 (diff) | |
parent | 679559ce180ec5210edb3a019e9ca862d7fddf4e (diff) | |
download | forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.gz forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.bz2 forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.tar.xz forums-0682e5719d55a10485050dc1fc7561c32e6b3fb8.zip |
Merge branch 'prep-release-3.1.0' into develop-ascraeus
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/prune_shadow_topic_test.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/prune_shadow_topic_test.php b/tests/functional/prune_shadow_topic_test.php index 84f07e9802..f00303060d 100644 --- a/tests/functional/prune_shadow_topic_test.php +++ b/tests/functional/prune_shadow_topic_test.php @@ -129,8 +129,8 @@ class phpbb_functional_prune_shadow_topic_test extends phpbb_functional_test_cas $result = $this->db->sql_query($sql); $crawler = self::request('GET', "viewforum.php?f={$this->data['forums']['Prune Shadow']}&sid={$this->sid}"); - $cron_link = $crawler->filter('img')->last()->attr('src'); - $crawler = self::request('GET', $cron_link . "&sid={$this->sid}", array(), false); + $this->assertNotEmpty($crawler->filter('img')->last()->attr('src')); + self::request('GET', "cron.php?cron_type=cron.task.core.prune_shadow_topics&f={$this->data['forums']['Prune Shadow']}&sid={$this->sid}", array(), false); $this->assert_forum_details($this->data['forums']['Prune Shadow'], array( 'forum_posts_approved' => 0, |