#335661: Invalid permission xxxx message running .test's
authorhass
Fri, 12 Dec 2008 13:24:30 +0000 (13:24 +0000)
committerhass
Fri, 12 Dec 2008 13:24:30 +0000 (13:24 +0000)
tests/googleanalytics_basic.test

index 60b07a4..28d35df 100644 (file)
@@ -16,9 +16,9 @@ class GoogleAnalyticsBasicTest extends DrupalWebTestCase {
   }
 
   function setUp() {
-    $permissions = array(
-      'administer google analytics',
-    );
+    parent::setUp('googleanalytics');
+
+    $permissions = array('administer google analytics');
 
     // User to set up google_analytics.
     $user = $this->drupalCreateUser($permissions);