feat: Site orders reach Tiny in the DTF SITE category
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 3m22s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m1s

Dropstar sent the category's id on 2026-10-26: 986932924, under RECEITAS,
in place of the store's DUPLICADO DROP. The same day they settled that the
print PDF's footer also gets the white spot, which needs nothing here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-26 18:38:20 -03:00
parent 0088158dc0
commit 19b8b8c509
3 changed files with 14 additions and 12 deletions

View File

@@ -343,6 +343,7 @@ class TinyStatusTests(FakeTinyCase):
def test_orders_are_filled_in_as_the_store_s_own(self):
from datetime import date
from app.tiny import CATEGORY, PICKUP_CARRIER, RECEIPT_METHODS
self.assertEqual(CATEGORY, 986932924) # DTF SITE, Dropstar 2026-10-26
thursday = date(2026, 9, 24)
with mock.patch.dict(os.environ, {'FREIGHT_PRODUCTION_DAYS': '1'}):
pickup = order_payload({**PICKUP, 'payment': {'method': 'pix'}}, 1, thursday, shipping=self.tiny.shipping)