summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-09-09 20:22:00 +0000
committerDries Buytaert <dries@buytaert.net>2010-09-09 20:22:00 +0000
commit006207d7a5b7757c0cf34cb659072c5e674d5363 (patch)
tree58e9f8fc4f471d33691a7991ae0e633620836835 /modules/simpletest
parent0bda56b52a5ff0d7dec08822d3ed49c80b6a35ca (diff)
downloadbrdo-006207d7a5b7757c0cf34cb659072c5e674d5363.tar.gz
brdo-006207d7a5b7757c0cf34cb659072c5e674d5363.tar.bz2
- Patch #712538 by scor: clean up RDF namespaces and mappings before Drupal 7 release.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/common.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/common.test b/modules/simpletest/tests/common.test
index b23e8e53c..bcec70f0c 100644
--- a/modules/simpletest/tests/common.test
+++ b/modules/simpletest/tests/common.test
@@ -2017,7 +2017,7 @@ class DrupalGetRdfNamespacesTestCase extends DrupalWebTestCase {
$xml = new SimpleXMLElement($this->content);
$ns = $xml->getDocNamespaces();
- $this->assertEqual($ns['owl'], 'http://www.w3.org/2002/07/owl#', t('A prefix declared once is displayed.'));
+ $this->assertEqual($ns['rdfs'], 'http://www.w3.org/2000/01/rdf-schema#', t('A prefix declared once is displayed.'));
$this->assertEqual($ns['foaf'], 'http://xmlns.com/foaf/0.1/', t('The same prefix declared in several implementations of hook_rdf_namespaces() is valid as long as all the namespaces are the same.'));
$this->assertEqual($ns['foaf1'], 'http://xmlns.com/foaf/0.1/', t('Two prefixes can be assigned the same namespace.'));
$this->assertTrue(!isset($ns['dc']), t('A prefix with conflicting namespaces is discarded.'));