summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-01-05 17:41:39 +0100
committerPetr Mrázek <peterix@gmail.com>2014-01-05 17:41:39 +0100
commit427a1774a64efd9897d0f92d8c8dd346be279b69 (patch)
tree9878c1e267d1b523b6223807528c1f8db9f8732e /tests
parent6bf5c362ba0fa641440fabb78dbbaf4f7656a253 (diff)
downloadMultiMC-427a1774a64efd9897d0f92d8c8dd346be279b69.tar
MultiMC-427a1774a64efd9897d0f92d8c8dd346be279b69.tar.gz
MultiMC-427a1774a64efd9897d0f92d8c8dd346be279b69.tar.lz
MultiMC-427a1774a64efd9897d0f92d8c8dd346be279b69.tar.xz
MultiMC-427a1774a64efd9897d0f92d8c8dd346be279b69.zip
Fix tests for master
Diffstat (limited to 'tests')
-rw-r--r--tests/data/channels.json2
-rw-r--r--tests/tst_UpdateChecker.cpp2
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>()
<< 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()