aboutsummaryrefslogtreecommitdiff
path: root/test/remoteapi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/remoteapi.cpp')
-rw-r--r--test/remoteapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/remoteapi.cpp b/test/remoteapi.cpp
index ef510e7b..557952ab 100644
--- a/test/remoteapi.cpp
+++ b/test/remoteapi.cpp
@@ -58,7 +58,7 @@ TEST_CASE("get_credentials() returns the users name and password",
ConfigContainer cfg;
ConfigParser cfgparser;
cfg.register_commands(cfgparser);
- cfgparser.parse("data/test-config-credentials.txt");
+ cfgparser.parse_file("data/test-config-credentials.txt");
std::unique_ptr<test_api> api(new test_api(&cfg));
REQUIRE(api->get_user("ttrss", "") == "ttrss-user");
REQUIRE(api->get_pass("ttrss", "") == "my-birthday");