]> err.no Git - libchamplain/commitdiff
Update the license of OpenStreetMap
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 17 Oct 2009 16:44:44 +0000 (18:44 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 17 Oct 2009 18:14:23 +0000 (14:14 -0400)
bindings/perl/Champlain/t/ChamplainMapSourceDesc.t

index 593cc86611626f2677b1848807fa28d4cc978dd9..778bacd474e2fd267e1f618a8279aba3e3934ffe 100644 (file)
@@ -37,8 +37,8 @@ sub test_get_set {
        isa_ok($source, 'Champlain::MapSourceDesc');
        is($source->id, Champlain::MapSourceFactory->OSM_MAPNIK, "get id()");
        is($source->name, 'OpenStreetMap Mapnik', "get name()");
-       is($source->license, "(CC) BY 2.0 OpenStreetMap contributors", "get license()");
-       is($source->license_uri, 'http://creativecommons.org/licenses/by/2.0/', "get license_uri()");
+       is($source->license, "CC-BY-SA 2.0 OpenStreetMap contributors", "get license()");
+       is($source->license_uri, 'http://creativecommons.org/licenses/by-sa/2.0/', "get license_uri()");
        is($source->min_zoom_level, 0, "get min_zoom_level()");
        is($source->max_zoom_level, 18, "get max_zoom_level()");
        is($source->projection, 'mercator', "get projection()");