From ab224a0e1cdf950f81517cec1146cb2b2494041d Mon Sep 17 00:00:00 2001 From: Stephen Shkardoon Date: Sat, 25 May 2013 17:16:10 +1200 Subject: [PATCH] Fix return the member ID for logInWithPermission Will now return the ID, as per the doc-block comment --- dev/SapphireTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/dev/SapphireTest.php b/dev/SapphireTest.php index 9558b7b09..626e54690 100644 --- a/dev/SapphireTest.php +++ b/dev/SapphireTest.php @@ -855,6 +855,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase { } $this->cache_generatedMembers[$permCode]->logIn(); + return $this->cache_generatedMembers[$permCode]->ID; } /**