From c0451983330544b04c997fe949eeefbddbe0e54b Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 13 Apr 2010 02:14:35 +0000 Subject: [PATCH] MINOR: added descriptive text to test assert. (from r98115) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102600 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- tests/security/PermissionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/security/PermissionTest.php b/tests/security/PermissionTest.php index eb892f872..f944f95c9 100644 --- a/tests/security/PermissionTest.php +++ b/tests/security/PermissionTest.php @@ -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"); } } \ No newline at end of file