[gnome-software/wip/temp/ubuntu-xenial-rebased: 309/326] trivial: Fix the self tests



commit 878d9ef2ff23c8ec88087241c17192e301d96a24
Author: William Hua <william hua canonical com>
Date:   Tue Apr 26 10:15:10 2016 +0200

    trivial: Fix the self tests

 src/gs-self-test.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gs-self-test.c b/src/gs-self-test.c
index 2f8e305..8aa5ce7 100644
--- a/src/gs-self-test.c
+++ b/src/gs-self-test.c
@@ -431,10 +431,6 @@ gs_plugin_loader_dpkg_func (GsPluginLoader *plugin_loader)
        g_autofree gchar *fn = NULL;
        g_autoptr(GFile) file = NULL;
 
-       /* no dpkg, abort */
-       if (!gs_plugin_loader_get_enabled (plugin_loader, "dpkg"))
-               return;
-
        /* load local file */
        fn = gs_test_get_filename ("tests/chiron-1.1-1.deb");
        g_assert (fn != NULL);


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