summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-action-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml/repr-action-test.cpp')
-rw-r--r--src/xml/repr-action-test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xml/repr-action-test.cpp b/src/xml/repr-action-test.cpp
index 7f5f27f2d..7ab857f46 100644
--- a/src/xml/repr-action-test.cpp
+++ b/src/xml/repr-action-test.cpp
@@ -16,9 +16,9 @@ int main(int argc, char *argv[]) {
utest_start("XML Transactions");
- a = sp_repr_new("a");
- b = sp_repr_new("b");
- c = sp_repr_new("c");
+ a = document->createElement("a");
+ b = document->createElement("b");
+ c = document->createElement("c");
UTEST_TEST("rollback of node addition") {
sp_repr_begin_transaction(document);