From 922fe4a4ccd7daa2adb878980169b833c7ab2c29 Mon Sep 17 00:00:00 2001 From: qadan Date: Thu, 2 Jul 2015 17:04:36 -0300 Subject: [PATCH] fixin' the assertions --- tests/includes/utilities.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/includes/utilities.inc b/tests/includes/utilities.inc index 4ea610ad..53a5107e 100644 --- a/tests/includes/utilities.inc +++ b/tests/includes/utilities.inc @@ -370,7 +370,7 @@ QUERY; */ public function assertObjectExists($pid) { $object = islandora_object_load($pid); - $exists = $this->assertFedoraObject($pid); + $exists = $this->assertFedoraObject($object); $this->addResult($exists, "Object $pid exists in the repository."); return $exists; } @@ -386,7 +386,7 @@ QUERY; */ public function assertNoObjectExists($pid) { $object = islandora_object_load($pid); - $exists = $this->assertFedoraObject($pid); + $exists = $this->assertFedoraObject($object); $this->addResult(!$exists, "Object $pid does not exist in the repository."); return !$exists; }