summaryrefslogtreecommitdiffstats
path: root/tests/Data_saveDataUpdate/WeekRecurrings
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Data_saveDataUpdate/WeekRecurrings')
-rw-r--r--tests/Data_saveDataUpdate/WeekRecurrings/source.json11
-rw-r--r--tests/Data_saveDataUpdate/WeekRecurrings/target.json14
2 files changed, 14 insertions, 11 deletions
diff --git a/tests/Data_saveDataUpdate/WeekRecurrings/source.json b/tests/Data_saveDataUpdate/WeekRecurrings/source.json
index b66c9c6..dbce0bb 100644
--- a/tests/Data_saveDataUpdate/WeekRecurrings/source.json
+++ b/tests/Data_saveDataUpdate/WeekRecurrings/source.json
@@ -34,7 +34,8 @@
"days_of_week": "sunday,monday,tuesday,wednesday,thursday,friday,saturday"
},
"start_date": "2016-03-01 12:20:00",
- "length": 11400,
+ "end_date": "9999-02-01 00:00:00",
+ "length": 300,
"text": "Test Week Event 1"
},
{
@@ -42,11 +43,13 @@
"recurring_type": {
"each": "week",
"repeat": 17,
- "days_of_week": "monday,wednesday,friday"
+ "step": 1,
+ "days_of_week": "monday,wednesday,thursday,friday"
},
"start_date": "2016-03-02 20:00:00",
- "length": 11400,
+ "end_date": "2016-03-31 00:00:00",
+ "length": 300,
"text": "Test Week Event 2"
},
{
@@ -58,7 +61,7 @@
},
"start_date": "2016-03-02 15:55:00",
"end_date": "2016-08-21 00:00:00",
- "length": 6000,
+ "length": 600,
"text": "Test Week Event 3"
}
]
diff --git a/tests/Data_saveDataUpdate/WeekRecurrings/target.json b/tests/Data_saveDataUpdate/WeekRecurrings/target.json
index fca6190..731db63 100644
--- a/tests/Data_saveDataUpdate/WeekRecurrings/target.json
+++ b/tests/Data_saveDataUpdate/WeekRecurrings/target.json
@@ -1,32 +1,32 @@
{
"data": [
{
- "start_date": "2016-03-01 00:00:00",
+ "start_date": "2016-03-01 12:20:00",
"end_date": "9999-02-01 00:00:00",
"text": "Test Week Event 1",
- "id": "4",
+ "id": "1",
"event_pid": "",
"event_length": "300",
"rec_pattern": "week_2___0,1,2,3,4,5,6",
"rec_type": "week_2___0,1,2,3,4,5,6#no"
},
{
- "start_date": "2016-03-02 00:00:00",
+ "start_date": "2016-03-02 20:00:00",
"end_date": "2016-03-31 00:00:00",
"text": "Test Week Event 2",
- "id": "5",
+ "id": "2",
"event_pid": "",
"event_length": "300",
"rec_pattern": "week_1___1,3,4,5",
"rec_type": "week_1___1,3,4,5#17"
},
{
- "start_date": "2016-03-02 00:00:00",
+ "start_date": "2016-03-02 15:55:00",
"end_date": "2016-08-21 00:00:00",
"text": "Test Week Event 3",
- "id": "6",
+ "id": "3",
"event_pid": "",
- "event_length": "300",
+ "event_length": "600",
"rec_pattern": "week_3___1,3",
"rec_type": "week_3___1,3#"
}