[gnome-software: 15/18] tests: Test key colours using a different test app




commit 5c8987f8b4add6a7b9c8e94f87a15b93bae72b87
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Mar 5 14:45:11 2021 +0000

    tests: Test key colours using a different test app
    
    Zeus doesn’t have an icon set; Chiron does. Previously, the tests only
    passed because the old key-colours implementation set a fallback colour
    ramp. The new code doesn’t do that (callers can provide their own
    fallbacks if they want), so the test fails.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 plugins/dummy/gs-self-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/dummy/gs-self-test.c b/plugins/dummy/gs-self-test.c
index fe8a09993..df5798cd2 100644
--- a/plugins/dummy/gs-self-test.c
+++ b/plugins/dummy/gs-self-test.c
@@ -219,7 +219,7 @@ gs_plugins_dummy_key_colors_func (GsPluginLoader *plugin_loader)
        g_autoptr(GError) error = NULL;
 
        /* get the extra bits */
-       app = gs_app_new ("zeus.desktop");
+       app = gs_app_new ("chiron.desktop");
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_REFINE,
                                         "app", app,
                                         "refine-flags", GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,


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