File size: 930 Bytes
b7a7f96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
  "function": "webhook",
  "cases": [
    {
      "name": "Exemplo padrão da interface",
      "args": [
        "{\"event\":\"conversation.resolved\",\"id\":\"exemplo-01\"}",
        "chave-ficticia-para-teste",
        "",
        "4"
      ],
      "object": true
    },
    {
      "args": [
        "{\"a\":1}",
        "chave-ficticia",
        "",
        "3"
      ],
      "path": "plano_retry_segundos.2",
      "equals": 20
    },
    {
      "args": [
        "{\"a\":1}",
        "chave-ficticia",
        "0000000000000000000000000000000000000000000000000000000000000000",
        "3"
      ],
      "path": "assinatura_informada_valida",
      "equals": false
    },
    {
      "args": [
        "not json",
        "chave-ficticia",
        "",
        "3"
      ],
      "error": true
    },
    {
      "args": [
        "{}",
        "short",
        "",
        "3"
      ],
      "error": true
    }
  ]
}