Test Setup Failed
Push — main ( ca36bd...d6d3c0 )
by Acho
02:08
created

stubs.APIUserGet   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
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
1
package stubs
2
3
// APIUserCreateAPIKey is a dummy json response for the {baseURL}/apiuser/{APIUser}/apikey API
4
func APIUserCreateAPIKey() []byte {
5
	return []byte(`
6
		{
7
        	"apiKey": "f1db798c98df4bcf83b538175893bbf0"
8
        }
9
`)
10
}
11
12
// APIUserGet is a dummy json response for the /v1_0/apiuser/{X-Reference-Id} API
13
func APIUserGet() []byte {
14
	return []byte(`
15
	{
16
		"providerCallbackHost": "string",
17
		"targetEnvironment": "sandbox"
18
	}
19
`)
20
}
21