summaryrefslogtreecommitdiff
path: root/tests/atompub/atompub_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/atompub/atompub_test.php')
-rw-r--r--tests/atompub/atompub_test.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/atompub/atompub_test.php b/tests/atompub/atompub_test.php
index cc1f93b44..389fd12c4 100644
--- a/tests/atompub/atompub_test.php
+++ b/tests/atompub/atompub_test.php
@@ -185,7 +185,7 @@ class AtomPubClient
throw new Exception('Bad Atom entry: XML is not well formed.');
}
- $activity = new Activity($dom);
+ $activity = new Activity($dom->documentRoot);
return true;
}
}
@@ -283,6 +283,7 @@ echo "ok\n";
echo "Refetching deleted notice to confirm it's gone... ";
try {
$body = $notice->get();
+ var_dump($body);
die("ERROR: notice should be gone now.\n");
} catch (Exception $e) {
echo "ok\n";