From 911dec44a8d9190a1cbf956e53b57d3d2faa354b Mon Sep 17 00:00:00 2001
From: jakubs <jakubs>
Date: Tue, 22 May 2012 11:15:12 +0000
Subject: [PATCH] SP-45, BIS-21 fix some tests that use persistent map

SVN: 25332
---
 .../registrator/testcase-registration-context-invalid-data.py   | 2 +-
 .../cisd/etlserver/registrator/testcase-registration-context.py | 2 +-
 .../etlserver/registrator/v2-testcase-registration-context.py   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context-invalid-data.py b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context-invalid-data.py
index 79ceb03e053..93f93d7d9d0 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context-invalid-data.py
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context-invalid-data.py
@@ -1,4 +1,4 @@
 
-transaction.getTransactionPersistentMap().put("nonSerializableObject",transaction)
+transaction.getPersistentMap().put("nonSerializableObject",transaction)
 
 execfile("sourceTest/java/ch/systemsx/cisd/etlserver/registrator/simple-testcase.py")
diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context.py b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context.py
index e7b9366c00f..9ea211bbd93 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context.py
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/testcase-registration-context.py
@@ -1,6 +1,6 @@
 execfile("sourceTest/java/ch/systemsx/cisd/etlserver/registrator/simple-transaction.py")
 
-transaction.getTransactionPersistentMap().put("body","1")
+transaction.getPersistentMap().put("body","1")
 
 global contextTestFailed
 contextTestFailed = None
diff --git a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/v2-testcase-registration-context.py b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/v2-testcase-registration-context.py
index eaf764eccc8..aef7ed72034 100644
--- a/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/v2-testcase-registration-context.py
+++ b/datastore_server/sourceTest/java/ch/systemsx/cisd/etlserver/registrator/v2-testcase-registration-context.py
@@ -1,6 +1,6 @@
 def process():
   execfile("sourceTest/java/ch/systemsx/cisd/etlserver/registrator/simple-transaction.py")
-  transaction.getTransactionPersistentMap().put("body","1")
+  transaction.getPersistentMap().put("body","1")
 
 global contextTestFailed
 contextTestFailed = None
-- 
GitLab