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 1a41b96cf..e507e3f31 100644
--- a/modules/rdf/rdf.test
+++ b/modules/rdf/rdf.test
@@ -400,7 +400,7 @@ class RdfTrackerAttributesTestCase extends DrupalWebTestCase {
}
// 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, '0')]");
+ $tracker_replies = $this->xpath("//tr[@about='$url']//td[contains(@property, 'sioc:num_replies') and contains(@content, '0') and @datatype='xsd:integer']");
$this->assertTrue($tracker_replies, t('Num replies property and content attributes found on @user content.', array('@user'=> $user)));
// Tests that the appropriate RDFa markup to annotate the latest activity