Browse Source

Renamed test case function

pull/331/head
jonathangreen 12 years ago
parent
commit
a825b0dedd
  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 * @return AbstractObject
* The pid of the object or FALSE if a PID is not found. * 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); $path_parts = explode('/', $path);
$array_length = count($path_parts); $array_length = count($path_parts);
for ($i = 0; $i < $array_length; $i++) { for ($i = 0; $i < $array_length; $i++) {

Loading…
Cancel
Save