summaryrefslogtreecommitdiffstats
path: root/tests/Data_getData
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Data_getData')
-rw-r--r--tests/Data_getData/DayRecurrings/source.json19
-rw-r--r--tests/Data_getData/DayRecurrings/target.json34
2 files changed, 53 insertions, 0 deletions
diff --git a/tests/Data_getData/DayRecurrings/source.json b/tests/Data_getData/DayRecurrings/source.json
new file mode 100644
index 0000000..345ba0f
--- /dev/null
+++ b/tests/Data_getData/DayRecurrings/source.json
@@ -0,0 +1,19 @@
+{
+ "settings": {
+ "start_date": "2016-03-09 00:00:00",
+ "end_date": "2016-03-13 23:00:00"
+ },
+ "data": [
+ {
+ "start_date": "2016-03-09 00:00:00",
+ "end_date": "2016-03-15 00:00:00",
+ "text": "Rec Ev",
+ "id": "497",
+ "event_pid": "",
+ "event_length": "300",
+ "rec_pattern": "day_2___",
+ "rec_type": "day_2___#3",
+ "!nativeeditor_status": ""
+ }
+ ]
+} \ No newline at end of file
diff --git a/tests/Data_getData/DayRecurrings/target.json b/tests/Data_getData/DayRecurrings/target.json
new file mode 100644
index 0000000..3d7c4d3
--- /dev/null
+++ b/tests/Data_getData/DayRecurrings/target.json
@@ -0,0 +1,34 @@
+{
+ "data": [
+ {
+ "start_date": "2016-03-09 00:00:00",
+ "end_date": "2016-03-09 00:05:00",
+ "event_pid": "497",
+ "text": "Rec Ev",
+ "id": "497",
+ "_timed": true,
+ "rec_type": "day_2___#3",
+ "event_length": "300"
+ },
+ {
+ "start_date": "2016-03-11 00:00:00",
+ "end_date": "2016-03-11 00:05:00",
+ "event_pid": "497",
+ "text": "Rec Ev",
+ "id": "497",
+ "_timed": true,
+ "rec_type": "day_2___#3",
+ "event_length": "300"
+ },
+ {
+ "start_date": "2016-03-13 00:00:00",
+ "end_date": "2016-03-13 00:05:00",
+ "event_pid": "497",
+ "text": "Rec Ev",
+ "id": "497",
+ "_timed": true,
+ "rec_type": "day_2___#3",
+ "event_length": "300"
+ }
+ ]
+} \ No newline at end of file