summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsten <stenmarsh938@gmail.com>2016-08-31 20:46:45 +0300
committersten <stenmarsh938@gmail.com>2016-08-31 20:46:45 +0300
commita664bd255cdede492e0c175be8054c2e863c622e (patch)
tree9990d0d9ca123e639bdddbaddec404c66d6ee1a4 /tests
parent9f53822571b0af4483457250ecd7318e8118af5d (diff)
downloadscheduler-helper-php-a664bd255cdede492e0c175be8054c2e863c622e.zip
scheduler-helper-php-a664bd255cdede492e0c175be8054c2e863c622e.tar.gz
scheduler-helper-php-a664bd255cdede492e0c175be8054c2e863c622e.tar.bz2
Add recurrings with big length test.
Diffstat (limited to 'tests')
-rw-r--r--tests/Data_getData/RecurringBigLength/source.json8
-rw-r--r--tests/Data_getData/RecurringBigLength/target.json3
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/Data_getData/RecurringBigLength/source.json b/tests/Data_getData/RecurringBigLength/source.json
index e69de29..046c10b 100644
--- a/tests/Data_getData/RecurringBigLength/source.json
+++ b/tests/Data_getData/RecurringBigLength/source.json
@@ -0,0 +1,8 @@
+{
+ "settings": {
+ "start_date": "2016-08-12 17:55:00",
+ "end_date": "2016-08-15 23:59:59"
+ },
+ "data":[{ "id": "105", "start_date": "2016-08-09 11:40:00", "end_date": "2016-08-12 11:40:00", "text": "not working", "rec_type": "day_1___#3", "event_pid": "0", "event_length": "169200", "type": "1", "rec_pattern": "day_1___"},
+ { "id": "106", "start_date": "2016-08-09 11:20:00", "end_date": "2016-08-13 10:40:00", "text": "this works", "rec_type": "", "event_pid": "", "event_length": "", "type": "1", "rec_pattern": ""}]
+} \ No newline at end of file
diff --git a/tests/Data_getData/RecurringBigLength/target.json b/tests/Data_getData/RecurringBigLength/target.json
index e69de29..9b8ae2b 100644
--- a/tests/Data_getData/RecurringBigLength/target.json
+++ b/tests/Data_getData/RecurringBigLength/target.json
@@ -0,0 +1,3 @@
+{
+ "data": [{"start_date":"2016-08-11 11:40:00","end_date":"2016-08-13 10:40:00","event_pid":"0","text":"not working","id":"105","type":"1","rec_type":"day_1___#3","event_length":"169200"},{"id":"106","start_date":"2016-08-09 11:20:00","end_date":"2016-08-13 10:40:00","text":"this works","rec_type":"","event_pid":"","event_length":"","type":"1"}]
+} \ No newline at end of file