Skip to content

Commit 01d5b71

Browse files
committed
add last_order_date to factory
1 parent 427f0df commit 01d5b71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/modules/amap/factory_amap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ async def create_cash_of_user(cls, db: AsyncSession):
7070
cash=models_amap.Cash(
7171
user_id=CoreUsersFactory.demo_users_id[0],
7272
balance=100,
73+
last_order_date=datetime.now(UTC),
7374
),
7475
)
7576

0 commit comments

Comments
 (0)