aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-28 21:24:42 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:24:42 -0500
commit6cc08f83225237d0cd57e0a5c0ebec0a8327aa30 (patch)
tree2022651363d627f9989d4aca7370081e3d956463 /engine/tests
parent6ca01c470d695c8ae309ea3475899c14cc34dd73 (diff)
downloadelgg-6cc08f83225237d0cd57e0a5c0ebec0a8327aa30.tar.gz
elgg-6cc08f83225237d0cd57e0a5c0ebec0a8327aa30.tar.bz2
Fixes #3496 finished up this ticket by updating unit test and using more parantheses to make it clear how the OR/AND gets applied
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/api/river.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/tests/api/river.php b/engine/tests/api/river.php
index 55ddbfeec..6931b9f41 100644
--- a/engine/tests/api/river.php
+++ b/engine/tests/api/river.php
@@ -11,7 +11,7 @@ class ElggCoreRiverAPITest extends ElggCoreUnitTest {
$types = array('object');
$subtypes = array('blog');
$result = elgg_get_river_type_subtype_where_sql('rv', $types, $subtypes, null);
- $this->assertIdentical($result, "((rv.type = 'object') AND (rv.subtype = 'blog'))");
+ $this->assertIdentical($result, "((rv.type = 'object') AND ((rv.subtype = 'blog')))");
$types = array('object');
$subtypes = array('blog', 'file');