diff --git a/hoot-core-test/src/test/cpp/hoot/core/io/ServiceHootApiDbReaderTest.cpp b/hoot-core-test/src/test/cpp/hoot/core/io/ServiceHootApiDbReaderTest.cpp
index f49793c..a52780a 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/io/ServiceHootApiDbReaderTest.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/io/ServiceHootApiDbReaderTest.cpp
@@ -58,7 +58,6 @@ class ServiceHootApiDbReaderTest : public HootTestFixture
CPPUNIT_TEST_SUITE(ServiceHootApiDbReaderTest);
CPPUNIT_TEST(runCalculateBoundsTest);
CPPUNIT_TEST(runElementIdTest);
- CPPUNIT_TEST(runUrlMissingMapIdTest);
CPPUNIT_TEST(runUrlInvalidMapIdTest);
CPPUNIT_TEST(runReadTest);
CPPUNIT_TEST(runPartialReadTest);
@@ -210,31 +209,6 @@ public:
map->getRelation(-1)->getMembers());
}
- void runUrlMissingMapIdTest()
- {
- setUpTest("runUrlMissingMapIdTest");
- // temporarily disable logging to avoid isValid warning
- DisableLog dl;
-
- HootApiDbReader reader;
- reader.setUserEmail(userEmail());
- QString exceptionMsg("");
- try
- {
- reader.open(
- ServicesDbTestUtils::getDbReadUrl(_mapId).toString()
- .replace("/" + QString::number(_mapId), ""));
- }
- catch (const HootException& e)
- {
- exceptionMsg = e.what();
- }
-
- //I would rather this return: "URL does not contain valid map ID." from
- //HootApiDbReader::open
- CPPUNIT_ASSERT(exceptionMsg.contains("An unsupported URL was passed in"));
- }
-
void runUrlInvalidMapIdTest()
{
setUpTest("runUrlInvalidMapIdTest");