Total Lines | 16 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | package stubs |
||
2 | |||
3 | // CollectionToken is a dummy json response for the `/collection/token/` endpoint |
||
4 | func CollectionToken() []byte { |
||
5 | return []byte(` |
||
6 | { |
||
7 | "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", |
||
8 | "token_type": "access_token", |
||
9 | "expires_in": 3600 |
||
10 | } |
||
11 | `) |
||
12 | } |
||
13 | |||
14 | // CollectionRequestToPayStatus is a dummy json response for the `/requesttopay/{referenceId}` endpoint |
||
15 | func CollectionRequestToPayStatus() []byte { |
||
16 | return []byte(` |
||
17 | { |
||
30 |