mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: added descriptive text to test assert.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98115 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b48c1fb883
commit
ec18557735
@ -59,7 +59,7 @@ class PermissionTest extends SapphireTest {
|
||||
|
||||
$result = Permission::get_members_by_permission(array('CMS_ACCESS_SecurityAdmin'));
|
||||
|
||||
$this->assertEquals($result->First(),$accessMember);
|
||||
$this->assertNotEquals($result->First(),$accessAuthor);
|
||||
$this->assertEquals($result->First(),$accessMember, "Member is found via a permission attached to a role");
|
||||
$this->assertNotEquals($result->First(),$accessAuthor, "Member is not found via a permission attached to a role");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user