From e502a43953cea946526bdb4bfcdc7f5ad4d2e3c8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 27 Oct 2011 18:22:28 +0200 Subject: [PATCH] =?utf8?q?Test=20f=C3=BCr=20reduziertes=20Interface=20von?= =?utf8?q?=20WH->transfer?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- t/wh/transfer.t | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/t/wh/transfer.t b/t/wh/transfer.t index 331ed506e..94767529c 100644 --- a/t/wh/transfer.t +++ b/t/wh/transfer.t @@ -120,6 +120,23 @@ test { shift->{qty}, shift->{qty}, 'back and forth in one transaction' } { qty => 1, }; +############################################# + +test { shift->{qty}, shift->{qty}, 'warehouse reduced interface' } { + transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'), + parts => $part, + src_bin => $bin2, + dst_bin => $bin1, + qty => 1, +}, +{ + transfer_type => SL::DB::Manager::TransferType->find_by(description => 'transfer'), + parts => $part, + src_bin => $bin1, + dst_bin => $bin2, + qty => 1, +}; + done_testing; -- 2.20.1