Skip to content

Commit

Permalink
update test script
Browse files Browse the repository at this point in the history
  • Loading branch information
FPLeader committed Sep 16, 2023
1 parent af35387 commit 885fb74
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
41 changes: 22 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,30 @@ You can see this following results if you had happy pass.
```
FoodOrder test
Main Functionality
✔ Platform is ready (42ms)
✔ Restaurant A is added (124ms)
✔ Courier A is added (281ms)
✔ Customer A is added (149ms)
✔ Food A is added (187ms)
✔ Order is submitted (159ms)
✔ Order is Confirmed (206ms)
✔ Food is cooked and Payment is transferred to restaurant (125ms)
✔ Order is Delivered (170ms)
✔ Delivery is accepted and Payment is sent to courier (290ms)
✔ Platform is ready
✔ Restaurant A is added (106ms)
✔ Courier A is added (140ms)
✔ Customer A is added (132ms)
✔ Food A is added (96ms)
✔ Order is submitted (120ms)
✔ Order is Confirmed (118ms)
✔ Food is cooked and Payment is transferred to restaurant (128ms)
✔ Order is Delivered (99ms)
✔ Delivery is accepted and Payment is sent to courier (189ms)
Upgradeable
✔ Upgrade with set_code_hash (353ms)
✔ Check whether the old data remains
✔ Create new food (144ms)
✔ Submit new orders (139ms)
✔ Confirm an order (343ms)
✔ Decline an order (183ms)
16 passing (5s)
✔ Upgrade with set_code_hash (374ms)
✔ Create new food (51ms)
✔ Submit new orders (161ms)
✔ Confirm an order (231ms)
✔ Decline an order (325ms)
Check whether the old data remains
✔ Check the restaurant (66ms)
✔ Check the customer
✔ Check the order
18 passing (3s)
```

### Running the node
Expand Down
Loading

0 comments on commit 885fb74

Please sign in to comment.