]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - tests/LocationTest.php
Merge commit 'refs/merge-requests/43' of https://gitorious.org/social/mainline into...
[quix0rs-gnu-social.git] / tests / LocationTest.php
index 62849eb9f4a2a9ed9535dc7a85ff8e3abbfe4728..a8447e1b48cb0bace3959d2150a8657b67c757bd 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';
 
@@ -48,8 +49,8 @@ class LocationTest extends PHPUnit_Framework_TestCase
 
     static public function locationIds()
     {
-        return array(array(6077243, GeonamesPlugin::NAMESPACE, 'en', null),
-                     array(5391959, GeonamesPlugin::NAMESPACE, 'en', null));
+        return array(array(6077243, GeonamesPlugin::LOCATION_NS, 'en', null),
+                     array(5391959, GeonamesPlugin::LOCATION_NS, 'en', null));
     }
 
     /**