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



commit 591b2eefe321bebdbd3b159bc7c5ff8f625f4394
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 fc533042..659a637b 100644
--- a/plugins/snap/gs-self-test.c
+++ b/plugins/snap/gs-self-test.c
@@ -236,7 +236,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]