Browse Source

Merge pull request #331 from jonathangreen/7.x-rename-tests

Renamed test case function
pull/333/head
Jonathan Green 12 years ago
parent
commit
143ad5ccdf
  1. 2
      tests/islandora_web_test_case.inc

2
tests/islandora_web_test_case.inc

@ -160,7 +160,7 @@ class IslandoraWebTestCase extends DrupalWebTestCase {
* @return AbstractObject
* The pid of the object or FALSE if a PID is not found.
*/
public function getPidFromPath($path) {
public function getObjectFromPath($path) {
$path_parts = explode('/', $path);
$array_length = count($path_parts);
for ($i = 0; $i < $array_length; $i++) {

Loading…
Cancel
Save