Project

General

Profile

« Previous | Next » 

Revision 0aa652ff

Added by Mikaël Ates over 11 years ago

fixtures: fix various things to make automated validation successes from fixtures.

View differences:

calebasse/fixtures/actes.json
1 1
[
2
  {
3
    "pk": 1,
4
    "model": "actes.act",
5
    "fields": {
6
      "patient": 8,
7
      "date": "2012-10-30T00:00:00",
8
      "act_type": 1,
9
      "validation_locked": false,
10
      "transport_type": null,
11
      "transport_company": null
2
    {
3
        "fields": {
4
            "act_type": 1,
5
            "date": "2012-10-30T12:00:00",
6
            "patient": 8,
7
            "transport_company": null,
8
            "transport_type": null,
9
            "validation_locked": false
10
        },
11
        "model": "actes.act",
12
        "pk": 1
13
    },
14
    {
15
        "fields": {
16
            "act_type": 10,
17
            "date": "2012-10-30T00:00:00",
18
            "patient": 9,
19
            "transport_company": null,
20
            "transport_type": null,
21
            "validation_locked": false
22
        },
23
        "model": "actes.act",
24
        "pk": 2
25
    },
26
    {
27
        "fields": {
28
            "attendance": "absent",
29
            "convocation_sent": false,
30
            "event_ptr": 1,
31
            "participants": [
32
                5
33
            ],
34
            "services": [
35
                1
36
            ]
37
        },
38
        "model": "actes.eventact",
39
        "pk": 1
40
    },
41
    {
42
        "fields": {
43
            "attendance": "absent",
44
            "convocation_sent": false,
45
            "event_ptr": 2,
46
            "participants": [
47
                5
48
            ],
49
            "services": [
50
                1
51
            ]
52
        },
53
        "model": "actes.eventact",
54
        "pk": 2
55
    },
56
    {
57
        "fields": {
58
            "act": 1,
59
            "author": 1,
60
            "auto": false,
61
            "created": "2012-10-30T00:00:00",
62
            "previous_state": null,
63
            "state_name": "NON_VALIDE"
64
        },
65
        "model": "actes.actvalidationstate",
66
        "pk": 1
67
    },
68
    {
69
        "fields": {
70
            "act": 2,
71
            "author": 1,
72
            "auto": false,
73
            "created": "2012-10-30T00:00:00",
74
            "previous_state": null,
75
            "state_name": "NON_VALIDE"
76
        },
77
        "model": "actes.actvalidationstate",
78
        "pk": 2
12 79
    }
13
  },
14
  {
15
    "pk": 2,
16
    "model": "actes.act",
17
    "fields": {
18
      "patient": 9,
19
      "date": "2012-10-30T00:00:00",
20
      "act_type": 10,
21
      "validation_locked": false,
22
      "transport_type": null,
23
      "transport_company": null
24
    }
25
  },
26
  {
27
    "pk": 1,
28
    "model": "actes.eventact",
29
    "fields": {
30
      "attendance": "absent",
31
      "participants": [
32
        5
33
      ],
34
      "services": [
35
        1
36
      ],
37
      "event_ptr": 1,
38
      "convocation_sent": false
39
    }
40
  },
41
  {
42
    "pk": 2,
43
    "model": "actes.eventact",
44
    "fields": {
45
      "attendance": "absent",
46
      "participants": [
47
        5
48
      ],
49
      "services": [
50
        1
51
      ],
52
      "event_ptr": 2,
53
      "convocation_sent": false
54
    }
55
  }
56 80
]

Also available in: Unified diff