summaryrefslogtreecommitdiffstats
path: root/models/migrations/fixtures/Test_UnwrapLDAPSourceCfg/login_source.yml
blob: 4b72ba145ecb83229ab27649d558559c56517910 (plain)
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
# type LoginSource struct {
#   ID        int64 `xorm:"pk autoincr"`
#   Type      int
#   Cfg       []byte `xorm:"TEXT"`
#   Expected  []byte `xorm:"TEXT"`
# }
-
  id: 1
  type: 1
  is_actived: false
  cfg: "{\"Source\":{\"A\":\"string\",\"B\":1}}"
  expected: "{\"Source\":{\"A\":\"string\",\"B\":1}}"
-
  id: 2
  type: 2
  is_actived: true
  cfg: "{\"Source\":{\"A\":\"string2\",\"B\":2}}"
  expected: "{\"A\":\"string2\",\"B\":2}"
-
  id: 3
  type: 3
  is_actived: false
  cfg: "{\"Source\":{\"A\":\"string3\",\"B\":3}}"
  expected: "{\"Source\":{\"A\":\"string3\",\"B\":3}}"
-
  id: 4
  type: 4
  is_actived: true
  cfg: "{\"Source\":{\"A\":\"string4\",\"B\":4}}"
  expected: "{\"Source\":{\"A\":\"string4\",\"B\":4}}"
-
  id: 5
  type: 5
  is_actived: false
  cfg: "{\"Source\":{\"A\":\"string5\",\"B\":5}}"
  expected: "{\"A\":\"string5\",\"B\":5}"
-
  id: 6
  type: 2
  is_actived: true
  cfg: "{\"A\":\"string6\",\"B\":6}"
  expected: "{\"A\":\"string6\",\"B\":6}"
-
  id: 7
  type: 5
  is_actived: false
  cfg: "{\"A\":\"string7\",\"B\":7}"
  expected: "{\"A\":\"string7\",\"B\":7}"