Passed
Push — main ( 14c5ed...27af40 )
by Acho
02:02
created

stubs.SmsSendSingle   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
c 0
b 0
f 0
rs 10
nop 0
1
package stubs
2
3
// SmsSendSingle is a dummy json response for the `/api/airtime/v2/` endpoint with an error
4
func SmsSendSingle() []byte {
5
	return []byte(`
6
		{
7
			"message": "Message is queued for sending! Please check report for update",
8
			"success": true,
9
			"message_id": "11ec-832f-a6f3fcfe-9fea-02420a0002ab"
10
		}
11
`)
12
}
13