aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-10-28 10:03:09 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-10-28 10:03:09 +0100
commit5426e9c70095e02ec7db11119eb5a08b0311a427 (patch)
tree630ac55635a24bb4eb4853e83d9eb1644ce8b53f /tests/functional
parent2438bfbfc66689beb8e22b80564a2b877f6763ba (diff)
parent0682e5719d55a10485050dc1fc7561c32e6b3fb8 (diff)
downloadforums-5426e9c70095e02ec7db11119eb5a08b0311a427.tar
forums-5426e9c70095e02ec7db11119eb5a08b0311a427.tar.gz
forums-5426e9c70095e02ec7db11119eb5a08b0311a427.tar.bz2
forums-5426e9c70095e02ec7db11119eb5a08b0311a427.tar.xz
forums-5426e9c70095e02ec7db11119eb5a08b0311a427.zip
Merge branch 'develop-ascraeus' into develop
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/prune_shadow_topic_test.php4
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,