aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2014-04-30 00:50:11 +0200
committerNicofuma <github@nicofuma.fr>2014-05-02 13:25:52 +0200
commit87fe1e613639e7bcb0549024f31565acc3426143 (patch)
treefb6ffc6fc195539293afc4d3d178847d22e54ef4 /tests/functional
parentdcadc04b182cb820cfa9bdddee3bc8661c817c4b (diff)
downloadforums-87fe1e613639e7bcb0549024f31565acc3426143.tar
forums-87fe1e613639e7bcb0549024f31565acc3426143.tar.gz
forums-87fe1e613639e7bcb0549024f31565acc3426143.tar.bz2
forums-87fe1e613639e7bcb0549024f31565acc3426143.tar.xz
forums-87fe1e613639e7bcb0549024f31565acc3426143.zip
[ticket/12413] Remove unnecessary casts
PHPBB3-12413
Diffstat (limited to 'tests/functional')
-rw-r--r--tests/functional/feed_test.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functional/feed_test.php b/tests/functional/feed_test.php
index 32a25fd390..97ba848b4f 100644
--- a/tests/functional/feed_test.php
+++ b/tests/functional/feed_test.php
@@ -72,7 +72,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
{
$crawler = self::request('GET', 'feed.php?mode=forums', array(), false);
self::assert_response_xml();
- self::$init_values['disapprove_user']['forums_value'] = (int)$crawler->filterXPath('//entry')->count();
+ self::$init_values['disapprove_user']['forums_value'] = $crawler->filterXPath('//entry')->count();
$crawler = self::request('GET', 'feed.php?mode=overall', array(), false);
self::assert_response_xml();
@@ -94,7 +94,7 @@ class phpbb_functional_feed_test extends phpbb_functional_test_case
$crawler = self::request('GET', 'feed.php?mode=forums', array(), false);
self::assert_response_xml();
- self::$init_values['admin']['forums_value'] = (int)$crawler->filterXPath('//entry')->count();
+ self::$init_values['admin']['forums_value'] = $crawler->filterXPath('//entry')->count();
$crawler = self::request('GET', 'feed.php?mode=overall', array(), false);
self::assert_response_xml();