mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-18 21:05:01 -04:00
Update tests for recent REST changes.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user