Index: /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py
===================================================================
--- /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py	(revision 12389)
+++ /main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/tests/test_browser.py	(revision 12390)
@@ -50,4 +50,8 @@
     layer = FunctionalLayer
 
+    def setup_customizable_params(self):
+        self._contract_category = u'license'
+        return
+
     def setup_for_export(self):
         customer = createObject(u'waeup.Customer')
@@ -213,5 +217,5 @@
             'history,last_product_id,product_object,product_options,'
             'state,tc_dict,title,user_id\r\n'
-            'PCNContract,sample,%s,,'
+            'PCNContract,license,%s,,'
             '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
             ',,,[],created,{\'en\': u\'Hello World\'},,K1000000\r\n'
@@ -223,5 +227,5 @@
             'history,last_product_id,product_object,product_options,'
             'state,tc_dict,title,user_id\r\n'
-            'PCNContract,sample,%s,,'
+            'PCNContract,license,%s,,'
             '[u\'2014-12-21 22:26:00 WAT - Contract created by system\']'
             ',,,[],created,{\'en\': u\'Hello World\'},,K1000000\r\n'
@@ -262,4 +266,10 @@
 
     layer = FunctionalLayer
+
+    def setup_customizable_params(self):
+        self._contract_category = u'license'
+        self._document_factory = 'waeup.PCNCustomerPDFDocument'
+        self._contract_factory = 'waeup.PCNContract'
+        return
 
     def test_manage_upload_pdf_file(self):
@@ -282,5 +292,5 @@
             name='upload_pdfscanmanageupload').click()
         self.assertTrue(
-            'pdf file extension expected' in self.browser.contents)
+            'pdf file format expected' in self.browser.contents)
         ctrl = self.browser.getControl(name='pdfscanmanageupload')
         file_ctrl = ctrl.mech_control
@@ -309,4 +319,10 @@
     layer = FunctionalLayer
 
+    def setup_customizable_params(self):
+        self._contract_category = u'license'
+        self._document_factory = 'waeup.PCNCustomerPDFDocument'
+        self._contract_factory = 'waeup.PCNContract'
+        return
+
     def test_view_slips(self):
         self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
