Skip to content

Commit 043c8e4

Browse files
authored
Update testCcdbApi.cxx
1 parent 02d6818 commit 043c8e4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CCDB/test/testCcdbApi.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -594,6 +594,6 @@ BOOST_AUTO_TEST_CASE(vectored)
594594
BOOST_AUTO_TEST_CASE(empty_url)
595595
{
596596
CcdbApi api;
597-
ccdbUrl = "";
598-
BOOST_CHECK_EXCEPTION(api.init(ccdbUrl), invalid_argument, [](std::invalid_argument const&) -> bool { return true; });
599-
}
597+
string url = "";
598+
BOOST_CHECK_EXCEPTION(api.init(url), invalid_argument, [](std::invalid_argument const&) -> bool { return true; });
599+
}

0 commit comments

Comments
 (0)