aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorKristian Evers <kristianevers@gmail.com>2019-05-25 17:07:51 +0200
committerGitHub <noreply@github.com>2019-05-25 17:07:51 +0200
commit5f8b28da425fe2d3be6e3a41d4acdd1568d41524 (patch)
tree48b7a446f20cacc0c12f2373f0bee19615f10e22 /test/unit
parent4e4ac41b424af8638c3c7f79ec9f7cbdebe4b85d (diff)
parent7dd15a824a60809e1d62089b598974f625599240 (diff)
downloadPROJ-5f8b28da425fe2d3be6e3a41d4acdd1568d41524.tar.gz
PROJ-5f8b28da425fe2d3be6e3a41d4acdd1568d41524.zip
Merge pull request #1485 from rouault/update_to_epsg_9.6.3
Database: update to EPSG v9.6.3
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/test_factory.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/unit/test_factory.cpp b/test/unit/test_factory.cpp
index 91024d62..34c5568c 100644
--- a/test/unit/test_factory.cpp
+++ b/test/unit/test_factory.cpp
@@ -85,8 +85,6 @@ TEST(factory, AuthorityFactory_createUnitOfMeasure_linear) {
auto factory = AuthorityFactory::create(DatabaseContext::create(), "EPSG");
EXPECT_THROW(factory->createUnitOfMeasure("-1"),
NoSuchAuthorityCodeException);
- EXPECT_TRUE(nn_dynamic_pointer_cast<UnitOfMeasure>(
- factory->createObject("9001")) != nullptr);
auto uom = factory->createUnitOfMeasure("9001");
EXPECT_EQ(uom->name(), "metre");
EXPECT_EQ(uom->type(), UnitOfMeasure::Type::LINEAR);