Skip to content

v0.2.50..v0.2.51 changeset OsmApiChangesetTest.cpp

Garret Voltz edited this page Jan 15, 2020 · 1 revision
diff --git a/hoot-core-test/src/test/cpp/hoot/core/io/OsmApiChangesetTest.cpp b/hoot-core-test/src/test/cpp/hoot/core/io/OsmApiChangesetTest.cpp
index 1f02a7c..5fc5cf8 100644
--- a/hoot-core-test/src/test/cpp/hoot/core/io/OsmApiChangesetTest.cpp
+++ b/hoot-core-test/src/test/cpp/hoot/core/io/OsmApiChangesetTest.cpp
@@ -129,7 +129,7 @@ public:
 
     //  Four elements max will divide the changeset into four changesets
     //  one for each way, with its corresponding nodes
-    changeset.setMaxSize(4);
+    changeset.setMaxPushSize(4);
 
     QStringList expectedFiles;
     expectedFiles.append(_inputPath + "ToyTestASplit1.osc");
@@ -297,7 +297,7 @@ public:
     changeset.loadChangeset(_inputPath + "DeleteSplit.osc");
 
     //  8 elements max will divide the changeset into 4 changesets
-    changeset.setMaxSize(8);
+    changeset.setMaxPushSize(8);
 
     QStringList expectedFiles;
     expectedFiles.append(_inputPath + "DeleteSplit1.osc");
Clone this wiki locally