]> err.no Git - libchamplain/commitdiff
OpenAerialMap is no longer available
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Wed, 16 Sep 2009 18:28:22 +0000 (20:28 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 21 Sep 2009 16:19:44 +0000 (12:19 -0400)
bindings/perl/Champlain/t/ChamplainMapSourceFactory.t

index 5a38e39ea5241a3c594e91f951d4ae8982f7a4f3..38be2b8d7641ec76223de93de074ae36ef7aa52e 100644 (file)
@@ -48,11 +48,22 @@ sub test_map_factory {
                Champlain::MapSourceFactory->OSM_CYCLE_MAP,
                "OpenStreetMap Cycle Map"
        );
-       generic_create(
-               $factory,
-               Champlain::MapSourceFactory->OAM,
-               "OpenAerialMap"
-       );
+
+       # OpenAerialMap is no longer working
+       if (0) {
+               generic_create(
+                       $factory,
+                       Champlain::MapSourceFactory->OAM,
+                       "OpenAerialMap"
+               );
+       }
+       else {
+               # The map source is now gone
+               SKIP: {
+                       skip "The map source OpenAerialMap is no longer available", 3;
+               };
+       }
+
        generic_create(
                $factory,
                Champlain::MapSourceFactory->MFF_RELIEF,
@@ -75,7 +86,7 @@ sub test_map_register {
        
        # Add a new map
        my $description = {
-       id => 'perl',
+               id => 'perl',
                name => 'Perl Fake Map',
                license => 'Artistic License',
                license_uri => 'http://dev.perl.org/licenses/artistic.html',