Commit 251c1733 authored by Aron Novak's avatar Aron Novak

og_ui.test: aside 403 group admin page tests, add a regular 404 response test too

parent e6a6a025
......@@ -434,6 +434,9 @@ class OgUiManagePeopleTestCase extends DrupalWebTestCase {
// http://php.net/manual/en/language.types.integer.php
$this->drupalGet('entity_test/0x' . $this->entity->pid . '/group');
$this->assertResponse(403);
// Non-existing groups return 404 however.
$this->drupalGet('entity_test/666/group');
$this->assertResponse(404);
}
}
......
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