From 8a4182203ac5e6c6648473e8baf2b0ede709e57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 3 Feb 2012 10:21:56 +0100 Subject: [PATCH] Put accounts on correct side. --- .../Vifib/tests/testVifibSlapComputerPartitionLock.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py b/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py index f0b24aafb..58eac3acd 100644 --- a/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py +++ b/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py @@ -316,15 +316,14 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): payment_transaction.newContent( portal_type="Accounting Transaction Line", quantity=1, - source='account_module/receivable', + destination='account_module/receivable', ) payment_transaction.newContent( portal_type="Accounting Transaction Line", quantity=-1, - source='account_module/sales', + destination='account_module/sales', ) payment_transaction.confirm() - # XXX More info needed payment_transaction.checkConsistency() def test_automated_person_past_not_paid_locking(self): -- 2.30.9