Skip to content

Commit

Permalink
Geolocation: use test key for tests.
Browse files Browse the repository at this point in the history
Mozilla provide a test key (with usage restrictions) for testing
purpose. Make use of it in our unit tests.
  • Loading branch information
pulkomandy committed Sep 24, 2014
1 parent 8a39d53 commit 84e6fa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tests/kits/net/service/GeolocationTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ GeolocationTest::GeolocationTest()
void
GeolocationTest::TestLocateSelf()
{
BGeolocation locator;
BGeolocation locator(BUrl(
"https://location.services.mozilla.com/v1/geolocate?key=test"));
float latitude, longitude;
status_t result = locator.LocateSelf(latitude, longitude);

Expand Down

0 comments on commit 84e6fa8

Please sign in to comment.