media-export: Disable Artist/All container
[profile/ivi/rygel.git] / tests / rygel-user-config-test.vala
index cd84632..6f16b8f 100644 (file)
@@ -354,6 +354,7 @@ public class Rygel.UserConfigTest : GLib.Object {
         try {
             var config = new UserConfig.with_paths (LOCAL_CONFIG,
                                                     SYSTEM_CONFIG);
+            assert (config != null);
         } catch (Error e) {
             failed = true;
         }
@@ -439,7 +440,7 @@ public class Rygel.UserConfigTest : GLib.Object {
 
             if (entries.remove (entry)) {
                 if (entries.size == 0) {
-                    changes.remove (section);
+                    changes.unset (section);
                 }
                 this.data_check ();
             } else {
@@ -469,7 +470,7 @@ public class Rygel.UserConfigTest : GLib.Object {
 
             if (keys.remove (key)) {
                 if (keys.size == 0) {
-                    changes.remove (section);
+                    changes.unset (section);
                 }
                 this.data_check ();
             } else {