Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Dec 20, 2024
1 parent 3e89d09 commit 28a2ad5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/api_client_example/tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
#define BOOST_TEST_MODULE test_client_api

#include <boost/test/unit_test.hpp>

#include "API_client.h"

BOOST_AUTO_TEST_CASE(test_run) {
auto results = solve("dummy_study_test_client_api");
BOOST_AUTO_TEST_CASE(test_run)
{
auto results = solve("dummy_study_test_client_api", {});
BOOST_CHECK(results.error);
BOOST_CHECK(!results.error->reason.empty());
auto c = results.error->reason;
Expand All @@ -34,4 +36,4 @@ BOOST_AUTO_TEST_CASE(test_run) {
BOOST_CHECK(results.error->reason.find("folder") != std::string::npos);
BOOST_CHECK(results.error->reason.find("not") != std::string::npos);
BOOST_CHECK(results.error->reason.find("exist") != std::string::npos);
}
}

0 comments on commit 28a2ad5

Please sign in to comment.