Update tests for recent REST changes.

This commit is contained in:
Bharat Mediratta
2010-01-23 12:13:14 -08:00
parent 4960061b56
commit a609694018
4 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class Rest_Controller_Test extends Gallery_Unit_Test_Case {
try {
test::call_and_capture(array(new Rest_Controller(), "mock"));
} catch (Exception $e) {
$this->assert_equal(403, $e->getCode());
$this->assert_equal(400, $e->getCode());
return;
}
$this->assert_true(false, "Shouldn't get here");