diff --git a/hoot-core-test/src/test/cpp/hoot/core/ops/IdSwapOpTest.cpp b/hoot-core-test/src/test/cpp/hoot/core/ops/IdSwapOpTest.cpp
index ad3392e..8632589 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/ops/IdSwapOpTest.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/ops/IdSwapOpTest.cpp
@@ -22,7 +22,7 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
// Hoot
@@ -87,7 +87,7 @@ public:
WayPtr find2 =
map->getWay(ElementIdsVisitor::findElementsByTag(map, ElementType::Way, "find", "way2")[0]);
- CPPUNIT_ASSERT_EQUAL(1L, op.getNumAffected());
+ CPPUNIT_ASSERT_EQUAL(1L, op.getNumFeaturesAffected());
HOOT_STR_EQUALS(find1->getTags().get("test:param"), find2->getElementId().toString());
HOOT_STR_EQUALS(find2->getTags().get("test:param"), find1->getElementId().toString());