summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsten <stenmarsh938@gmail.com>2016-03-25 16:54:30 +0300
committersten <stenmarsh938@gmail.com>2016-03-25 16:54:30 +0300
commitfd356a54b000add786a5feac133de3c6ecb2aab4 (patch)
tree018402c73bd31bded7034c05437f422cffa066df
parent551d156dd610c2ab5b79a99f08d9a73856004ffb (diff)
downloadscheduler-helper-php-fd356a54b000add786a5feac133de3c6ecb2aab4.zip
scheduler-helper-php-fd356a54b000add786a5feac133de3c6ecb2aab4.tar.gz
scheduler-helper-php-fd356a54b000add786a5feac133de3c6ecb2aab4.tar.bz2
Update months recurrings data.
-rw-r--r--tests/Data_getData/MonthRecurrings2/source.json42
-rw-r--r--tests/Data_getData/MonthRecurrings2/target.json30
2 files changed, 8 insertions, 64 deletions
diff --git a/tests/Data_getData/MonthRecurrings2/source.json b/tests/Data_getData/MonthRecurrings2/source.json
index 4ff1a21..900bbc0 100644
--- a/tests/Data_getData/MonthRecurrings2/source.json
+++ b/tests/Data_getData/MonthRecurrings2/source.json
@@ -3,39 +3,11 @@
"start_date": "2016-03-01 00:00:00",
"end_date": "2016-04-01 00:00:00"
},
- "data": [
- {
- "start_date": "2016-01-01 06:50:00",
- "end_date": "9999-02-01 00:00:00",
- "text": "Month Event 1",
- "id": "2",
- "event_pid": "",
- "event_length": "25800",
- "rec_pattern": "month_2___",
- "rec_type": "month_2___#no",
- "!nativeeditor_status": ""
- },
- {
- "start_date": "2016-01-01 00:00:00",
- "end_date": "9999-02-01 00:00:00",
- "text": "Month Event 2",
- "id": "3",
- "event_pid": "",
- "event_length": "300",
- "rec_pattern": "month_1_1_1_",
- "rec_type": "month_1_1_1_#no",
- "!nativeeditor_status": ""
- },
- {
- "start_date": "2016-01-02 08:00:00",
- "end_date": "9999-02-01 00:00:00",
- "text": "Month Event 3",
- "id": "4",
- "event_pid": "",
- "event_length": "21600",
- "rec_pattern": "month_2_0_2_",
- "rec_type": "month_2_0_2_#no",
- "!nativeeditor_status": ""
- }
- ]
+ "data": [{ "id": "2", "start_date": "2016-01-01 06:50:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 1", "rec_type": "month_2___#no", "event_pid": "0", "event_length": "25800", "rec_pattern": "month_2___"},
+ { "id": "3", "start_date": "2016-01-01 00:00:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 2", "rec_type": "month_1_1_1_#no", "event_pid": "0", "event_length": "300", "rec_pattern": "month_1_1_1_"},
+ { "id": "4", "start_date": "2016-01-02 08:00:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 3", "rec_type": "month_2_0_2_#no", "event_pid": "0", "event_length": "21600", "rec_pattern": "month_2_0_2_"},
+ { "id": "5", "start_date": "2016-02-01 06:20:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 4", "rec_type": "month_2_1_2_#no", "event_pid": "", "event_length": "6000", "rec_pattern": "month_2_1_2_"},
+ { "id": "6", "start_date": "2016-02-03 00:00:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 5", "rec_type": "month_2___#no", "event_pid": "", "event_length": "300", "rec_pattern": "month_2___"},
+ { "id": "7", "start_date": "2016-01-03 00:00:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 6", "rec_type": "month_2___#no", "event_pid": "", "event_length": "300", "rec_pattern": "month_2___"},
+ { "id": "8", "start_date": "2016-01-01 00:00:00", "end_date": "9999-02-01 00:00:00", "text": "Month Event 7", "rec_type": "month_2_1_1_#no", "event_pid": "", "event_length": "300", "rec_pattern": "month_2_1_1_"}]
} \ No newline at end of file
diff --git a/tests/Data_getData/MonthRecurrings2/target.json b/tests/Data_getData/MonthRecurrings2/target.json
index 23255db..6803af8 100644
--- a/tests/Data_getData/MonthRecurrings2/target.json
+++ b/tests/Data_getData/MonthRecurrings2/target.json
@@ -1,31 +1,3 @@
{
- "data": [
- {
- "start_date": "2016-03-01 06:50:00",
- "end_date": "2016-03-01 14:00:00",
- "event_pid": "0",
- "text": "Month Event 1",
- "id": "2",
- "rec_type": "month_2___#no",
- "event_length": 25800
- },
- {
- "start_date": "2016-03-07 00:00:00",
- "end_date": "2016-03-07 00:05:00",
- "event_pid": "0",
- "text": "Month Event 2",
- "id": "3",
- "rec_type": "month_1_1_1_#no",
- "event_length": 300
- },
- {
- "start_date": "2016-03-13 08:00:00",
- "end_date": "2016-03-13 14:00:00",
- "event_pid": "0",
- "text": "Month Event 3",
- "id": "4",
- "rec_type": "month_2_0_2_#no",
- "event_length": 21600
- }
- ]
+ "data": [{"start_date":"2016-03-01 06:50:00","end_date":"2016-03-01 14:00:00","event_pid":"0","text":"Month Event 1","id":"2","rec_type":"month_2___#no","event_length":"25800"},{"start_date":"2016-03-07 00:00:00","end_date":"2016-03-07 00:05:00","event_pid":"0","text":"Month Event 2","id":"3","rec_type":"month_1_1_1_#no","event_length":"300"},{"start_date":"2016-03-13 08:00:00","end_date":"2016-03-13 14:00:00","event_pid":"0","text":"Month Event 3","id":"4","rec_type":"month_2_0_2_#no","event_length":"21600"},{"start_date":"2016-03-03 00:00:00","end_date":"2016-03-03 00:05:00","event_pid":"0","text":"Month Event 6","id":"7","rec_type":"month_2___#no","event_length":300},{"start_date":"2016-03-07 00:00:00","end_date":"2016-03-07 00:05:00","event_pid":"0","text":"Month Event 7","id":"8","rec_type":"month_2_1_1_#no","event_length":300}]
} \ No newline at end of file