We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 0bfeaa45 authored by Brion Vibber's avatar Brion Vibber

AtomPub tests: fix for atom post check

parent 82a9560a
......@@ -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();
die("ERROR: notice should be gone now.\n");
} catch (Exception $e) {
echo "ok\n";
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment