[gnome-software] trivial: Fix self tests after recent flatpak fix



commit 484de32a2843f4e6653d9a1701dac31911a200b1
Author: Richard Hughes <richard hughsie com>
Date:   Tue Oct 17 11:15:23 2017 +0100

    trivial: Fix self tests after recent flatpak fix
    
    'flatpak: Stop refreshing the updates page after every update' broke the tests.

 plugins/flatpak/gs-self-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/flatpak/gs-self-test.c b/plugins/flatpak/gs-self-test.c
index c8ad3d4..d2110fc 100644
--- a/plugins/flatpak/gs-self-test.c
+++ b/plugins/flatpak/gs-self-test.c
@@ -1419,7 +1419,7 @@ gs_plugins_flatpak_app_update_func (GsPluginLoader *plugin_loader)
        g_assert (got_progress_installing);
        //g_assert_cmpint (progress_cnt, >, 20); //FIXME: bug in OSTree
        g_assert_cmpint (pending_app_changed_cnt, ==, 0);
-       g_assert_cmpint (updates_changed_cnt, ==, 1);
+       g_assert_cmpint (updates_changed_cnt, ==, 0);
 
        /* no longer care */
        g_signal_handler_disconnect (plugin_loader, pending_apps_changed_id);


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