Skip to content

Commit 2ed776d

Browse files
Edited chapter_04_service_layer.asciidoc with Atlas code editor
1 parent a81b403 commit 2ed776d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapter_04_service_layer.asciidoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -546,9 +546,9 @@ def test_happy_path_returns_201_and_allocated_batch(add_stock):
546546
laterbatch = random_batchref(2)
547547
otherbatch = random_batchref(3)
548548
add_stock([
549-
earlybatch = random_batchref(1)
550-
laterbatch = random_batchref(2)
551-
otherbatch = random_batchref(3)
549+
(laterbatch, sku, 100, '2011-01-02'),
550+
(earlybatch, sku, 100, '2011-01-01'),
551+
(otherbatch, othersku, 100, None),
552552
])
553553
data = {'orderid': random_orderid(), 'sku': sku, 'qty': 3}
554554
url = config.get_api_url()

0 commit comments

Comments
 (0)