summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-01-12 12:27:06 +0100
committerBastien Nocera <hadess@hadess.net>2021-01-12 15:11:55 +0100
commit86eaa6d95fc2f4184be024f01fd2465dc0ede004 (patch)
treec5a87bafd9d856f05c09af497fbcb55348bf1bf0
parent2bc3db19cb47814a6503b0273722c1af587c72ab (diff)
downloadlibgweather-86eaa6d95fc2f4184be024f01fd2465dc0ede004.tar.gz
tests: Add application-ids to tests
-rw-r--r--libgweather/test_libgweather.c1
-rw-r--r--libgweather/test_weather.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libgweather/test_libgweather.c b/libgweather/test_libgweather.c
index 500faf3..a1adbe4 100644
--- a/libgweather/test_libgweather.c
+++ b/libgweather/test_libgweather.c
@@ -784,6 +784,7 @@ test_weather_loop_use_after_free (void)
loop = g_main_loop_new (NULL, TRUE);
info = gweather_info_new (NULL);
+ gweather_info_set_application_id (info, "org.gnome.LibGWeather");
gweather_info_set_enabled_providers (info,
GWEATHER_PROVIDER_METAR |
GWEATHER_PROVIDER_IWIN |
diff --git a/libgweather/test_weather.c b/libgweather/test_weather.c
index ffe7c92..97ad38c 100644
--- a/libgweather/test_weather.c
+++ b/libgweather/test_weather.c
@@ -156,6 +156,7 @@ main (int argc, char **argv)
loop = g_main_loop_new (NULL, TRUE);
info = gweather_info_new (NULL);
+ gweather_info_set_application_id (info, "org.gnome.LibGWeather");
if (!set_providers (info))
return 1;
gweather_info_set_location (info, loc);