From 427a1774a64efd9897d0f92d8c8dd346be279b69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 5 Jan 2014 17:41:39 +0100 Subject: [PATCH] Fix tests for master --- tests/data/channels.json | 2 +- tests/tst_UpdateChecker.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/data/channels.json b/tests/data/channels.json index 6bf65a82..d7446274 100644 --- a/tests/data/channels.json +++ b/tests/data/channels.json @@ -11,7 +11,7 @@ "id": "stable", "name": "Stable", "description": "It's stable at least", - "url": "ftp://username@host/path/to/stuff" + "url": "$PWD/tests/data/" }, { "id": "42", diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp index 162d0009..19ac85ab 100644 --- a/tests/tst_UpdateChecker.cpp +++ b/tests/tst_UpdateChecker.cpp @@ -77,7 +77,7 @@ slots: << true << (QList() << UpdateChecker::ChannelListEntry{"develop", "Develop", "The channel called \"develop\"", "$PWD/tests/data/"} - << UpdateChecker::ChannelListEntry{"stable", "Stable", "It's stable at least", "ftp://username@host/path/to/stuff"} + << UpdateChecker::ChannelListEntry{"stable", "Stable", "It's stable at least", "$PWD/tests/data/"} << UpdateChecker::ChannelListEntry{"42", "The Channel", "This is the channel that is going to answer all of your questions", "https://dent.me/tea"}); } void tst_ChannelListParsing()