]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - tests/UserRightsTest.php
Making sure scripts and tests check for GNUSOCIAL defined (instead of STATUSNET)
[quix0rs-gnu-social.git] / tests / UserRightsTest.php
index 97bf195749d703bde75570f919283f3c13d33730..bd9124a91d38b1dd0cc6dcb793a9b7c12ff4d7d3 100644 (file)
@@ -6,7 +6,8 @@ if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
 }
 
 define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
-define('STATUSNET', true);
+define('GNUSOCIAL', true);
+define('STATUSNET', true);  // compatibility
 
 require_once INSTALLDIR . '/lib/common.php';
 
@@ -69,4 +70,4 @@ class UserRightsTest extends PHPUnit_Framework_TestCase
         $this->user->grantRole($role);
         $this->assertTrue($this->user->hasRole($role));
     }
-}
\ No newline at end of file
+}