summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2009-11-17 16:56:43 -0800
committerBrion Vibber <brion@pobox.com>2009-11-17 16:56:43 -0800
commit88ff0eefb411e05e3d622861d90760c12bbba9f0 (patch)
treed1776f2c6b833de68151f1c58d0efbbc90096e81 /tests
parente3123be350f73e9a9698e864e4e94bb0b4dfe464 (diff)
Renaming GeonamesPlugin::NAMESPACE to GeonamesPlugin::LOCATION_NS to avoid parse errors; 'namespace' is a reserved keyword in PHP 5.3 and later.
Diffstat (limited to 'tests')
-rw-r--r--tests/LocationTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/LocationTest.php b/tests/LocationTest.php
index 62849eb9f..1badecb5d 100644
--- a/tests/LocationTest.php
+++ b/tests/LocationTest.php
@@ -48,8 +48,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));
}
/**