Added test for searching account

This commit is contained in:
2022-05-26 22:39:45 +12:00
parent d7f4e25830
commit 409ea90a4b
2 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
{
"data":[
{
"id":2,
"company_id":1,
"name":"Some Account",
"number":"**-9011-*******-03",
"currency_code":"NZD",
"opening_balance":0,
"opening_balance_formatted":"$0.00",
"current_balance":100,
"current_balance_formatted":"$100.00",
"bank_name":"A Bank",
"bank_phone":"None",
"bank_address":"None",
"enabled":true,
"created_by":1,
"created_at":"2022-05-13T16:16:16+12:00",
"updated_at":"2022-05-13T16:16:16+12:00"
}
],
"meta":{
"pagination":{
"total":1,
"count":1,
"per_page":25,
"current_page":1,
"total_pages":1,
"links":{
}
}
}
}