tests: Fix bug in HTTPItemUri test
authorMarcin Kazmierczak <marcin.kazmierczak@comarch.com>
Thu, 22 Dec 2011 09:22:05 +0000 (10:22 +0100)
committerJens Georg <mail@jensge.org>
Thu, 22 Dec 2011 11:24:23 +0000 (12:24 +0100)
test_construction_with_subtitle: Add default -1 Thumbnail index in
HTTPItemUri constructor call.

Previously test create HTTPItemURI object with Thumbnail index instead of
subtitle index.

tests/rygel-http-item-uri-test.vala

index c739c79..6c86ddb 100644 (file)
@@ -104,6 +104,7 @@ private class Rygel.HTTPItemURITest : GLib.Object {
     private HTTPItemURI test_construction_with_subtitle () {
         var uri = new HTTPItemURI (ITEM_ID,
                                    this.server,
+                                   -1,
                                    SUBTITLE_INDEX);
         assert (uri != null);