Commit bdc8d727 authored by lyricnz's avatar lyricnz
Browse files

Cleanup testcase, remove comment

parent a573ce91
......@@ -284,8 +284,6 @@ function geonames_us_states($state = NULL) {
* result object (or FALSE on failure)
*/
function geonames_query($service, $query = array(), $options = NULL) {
//function geonames_query($service, $query = array(), $columns = FALSE) {
if ($query == NULL || $query == FALSE || $query == '') {
$query = array();
}
......
......@@ -25,8 +25,7 @@ class GeoNamesTestCase extends DrupalWebTestCase {
parent::setUp('geonames');
variable_set('geonames_commercial_active', FALSE);
variable_set('geonames_cache', FALSE);
// Use the free server that doesn't require a username
variable_set('geonames_server', 'http://ws.geonames.org');
variable_set('geonames_username', 'demo');
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment