Skip to content

Commit b9abfa4

Browse files
committed
Add additional test
1 parent b5e4a52 commit b9abfa4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

exercises/bank-account/canonical-data.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,21 @@
170170
},
171171
"expected": {}
172172
},
173+
{
174+
"uuid": "a0a1835d-faae-4ad4-a6f3-1fcc2121380b",
175+
"description": "Deposit into unopened account",
176+
"property": "bankAccount",
177+
"input": {
178+
"operations": [
179+
{
180+
"operation": "deposit",
181+
"value": 50,
182+
"expected": { "error": "account not open" }
183+
}
184+
]
185+
},
186+
"expected": {}
187+
},
173188
{
174189
"uuid": "570dfaa5-0532-4c1f-a7d3-0f65c3265608",
175190
"description": "Withdraw from closed account",

0 commit comments

Comments
 (0)