Passed
Push — main ( 9ca7b6...75c795 )
by Acho
05:09
created

stubs.AccountBalanceWithError   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
dl 0
loc 2
rs 10
c 0
b 0
f 0
nop 0
1
package stubs
2
3
// AccountBalanceWithError is a dummy json response for the `/api/account/agent/balance/v2/` endpoint with an error
4
func AccountBalanceWithError() []byte {
5
	return []byte(`
6
		{
7
			"code": 500,
8
			"message": "412: bad password",
9
			"result": null
10
		}
11
`)
12
}
13