[gnome-software/gnome-3-32] snap: Request screenshots in self tests



commit db47071d747f5fe56c17e0214b28f203295efd7e
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Jul 12 11:17:12 2019 +1200

    snap: Request screenshots in self tests
    
    The snap plugin only loads screenshots when requested (3e84eb5).

 plugins/snap/gs-self-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/snap/gs-self-test.c b/plugins/snap/gs-self-test.c
index 75277ad7..7a1aa5cc 100644
--- a/plugins/snap/gs-self-test.c
+++ b/plugins/snap/gs-self-test.c
@@ -235,7 +235,7 @@ gs_plugins_snap_test_func (GsPluginLoader *plugin_loader)
 
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_SEARCH,
                                         "search", "snap",
-                                        "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,
+                                        "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON | 
GS_PLUGIN_REFINE_FLAGS_REQUIRE_SCREENSHOTS,
                                         NULL);
        apps = gs_plugin_loader_job_process (plugin_loader, plugin_job, NULL, &error);
        g_assert_no_error (error);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]