Index: tests/libraries.test =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/libraries/tests/libraries.test,v retrieving revision 1.5 diff -u -p -r1.5 libraries.test --- tests/libraries.test 9 Oct 2010 22:26:03 -0000 1.5 +++ tests/libraries.test 10 Oct 2010 14:15:03 -0000 @@ -48,7 +48,7 @@ class LibrariesTestCase extends DrupalWe $error = t('%library could not be found.', array( '%library' => $library['title'], )); - $this->assertEqual($library['error'], $error, 'Non-existing library not found.'); + $this->assertEqual($library['error message'], $error, 'Non-existing library not found.'); // Test unknown library version. $library = libraries_info('example_undetected_version'); @@ -56,7 +56,7 @@ class LibrariesTestCase extends DrupalWe $error = t('The version of %library could not be detected.', array( '%library' => $library['title'], )); - $this->assertEqual($library['error'], $error, 'Library version not found.'); + $this->assertEqual($library['error message'], $error, 'Library version not found.'); // Test unsupported library version. $library = libraries_info('example_unsupported_version'); @@ -65,7 +65,7 @@ class LibrariesTestCase extends DrupalWe '%version' => $library['version'], '%library' => $library['title'], )); - $this->assertEqual($library['error'], $error, 'Unsupported library version found.'); + $this->assertEqual($library['error message'], $error, 'Unsupported library version found.'); // Test supported library version. $library = libraries_info('example_supported_version'); @@ -112,7 +112,7 @@ class LibrariesTestCase extends DrupalWe '%variant' => $variants[0], '%library' => $library['title'], )); - $this->assertEqual($library['variants']['example_variant']['error'], $error, 'Missing variant not found.'); + $this->assertEqual($library['variants']['example_variant']['error message'], $error, 'Missing variant not found.'); // Test existing variant. $library = libraries_info('example_variant');