summaryrefslogtreecommitdiff
path: root/modules/rdf/rdf.test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/rdf/rdf.test')
-rw-r--r--modules/rdf/rdf.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rdf/rdf.test b/modules/rdf/rdf.test
index e507e3f31..908cfec4c 100644
--- a/modules/rdf/rdf.test
+++ b/modules/rdf/rdf.test
@@ -416,7 +416,7 @@ class RdfTrackerAttributesTestCase extends DrupalWebTestCase {
$this->drupalGet('tracker');
// Tests whether the property has been set for number of comments.
- $tracker_replies = $this->xpath("//tr[@about='$url']//td[contains(@property, 'sioc:num_replies') and contains(@content, '1')]");
+ $tracker_replies = $this->xpath("//tr[@about='$url']//td[contains(@property, 'sioc:num_replies') and contains(@content, '1') and @datatype='xsd:integer']");
$this->assertTrue($tracker_replies, t('Num replies property and content attributes found on @user content.', array('@user'=> $user)));
// Need to query database directly to obtain last_activity_date because