Commit 26e85c66 authored by Sebastien Robin's avatar Sebastien Robin

create the counter a bit later to make sure the security settings are well defined

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11437 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0f19b555
......@@ -136,10 +136,6 @@ class TestERP5BankingCheckPaymentMixin:
currency=self.currency_1,
amount=100000)
# open counter date and counter
self.openCounterDate(site=self.paris)
self.openCounter(site=self.bi_counter_vault)
# now we need to create a user as Manager to do the test
# in order to have an assigment defined which is used to do transition
# Create an Organisation that will be used for users assignment
......@@ -155,6 +151,10 @@ class TestERP5BankingCheckPaymentMixin:
self.logout()
self.login('super_user')
# open counter date and counter
self.openCounterDate(site=self.paris)
self.openCounter(site=self.bi_counter_vault)
# create a check
self.checkbook_1 = self.createCheckbook(id= 'checkbook_1',
vault=self.bi_counter,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment