summaryrefslogtreecommitdiff
path: root/tests/rygel-http-item-uri-test.vala
diff options
context:
space:
mode:
authorMarcin Kazmierczak <marcin.kazmierczak@comarch.com>2011-12-22 10:22:05 +0100
committerJens Georg <mail@jensge.org>2011-12-22 12:24:23 +0100
commit2c80d54373a943479ac735e9884f909feff5b38b (patch)
tree7bf25b3d004e5b588d363bb49b757ef2e990512e /tests/rygel-http-item-uri-test.vala
parentcc9b4a7912bc129305b9645d9760b00af4881e73 (diff)
downloadrygel-2c80d54373a943479ac735e9884f909feff5b38b.tar.gz
tests: Fix bug in HTTPItemUri test
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.
Diffstat (limited to 'tests/rygel-http-item-uri-test.vala')
-rw-r--r--tests/rygel-http-item-uri-test.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rygel-http-item-uri-test.vala b/tests/rygel-http-item-uri-test.vala
index c739c793..6c86ddb0 100644
--- a/tests/rygel-http-item-uri-test.vala
+++ b/tests/rygel-http-item-uri-test.vala
@@ -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);