X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=tests%2FLocationTest.php;h=a8447e1b48cb0bace3959d2150a8657b67c757bd;hb=c393bc95635cc7b5584135bfd6f447dcc03c961b;hp=62849eb9f4a2a9ed9535dc7a85ff8e3abbfe4728;hpb=2d8ad0409d8e78ec35a65156bc375eacbe561963;p=quix0rs-gnu-social.git diff --git a/tests/LocationTest.php b/tests/LocationTest.php index 62849eb9f4..a8447e1b48 100644 --- a/tests/LocationTest.php +++ b/tests/LocationTest.php @@ -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)); } /**