Commit graph

44 commits

Author SHA1 Message Date
Raimund Schlüßler
a5322e73ad
Use alias for jest file resolution
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-02-02 21:03:48 +01:00
Raimund Schlüßler
73f745a396
Use eslint-config-nextcloud
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-01-29 22:35:33 +01:00
Raimund Schlüßler
d6dfe6cc62
Bump @vue/test-utils to v1.0.0-beta.31
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2020-01-25 21:23:19 +01:00
Raimund Schlüßler
d3975d06d6
Adjust tests to now default async mode
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-12-01 21:44:13 +01:00
Raimund Schlüßler
cdc6cb7b04
Merge pull request #657 from nextcloud/fix-615
Apply last all-day setting to newly created dates
2019-11-22 14:52:36 +01:00
Raimund Schlüßler
bd8e4a5ce5
Move router to appropriate place
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-20 21:03:53 +01:00
Raimund Schlüßler
621c87b1b9
Adjust SettingsService Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-20 20:53:30 +01:00
Raimund Schlüßler
aa4cd52064
Fix storeHelper test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-14 23:16:23 +01:00
Raimund Schlüßler
d6daa45e6c
Adjust storeHelper test to use actual Tasks
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-14 20:47:34 +01:00
Raimund Schlüßler
ab383bdce7
Fix unhandled promise rejection in unit tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-14 13:12:32 +01:00
Raimund Schlüßler
d10f532d3d
Test that open tasks are always shown in week view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-14 09:35:28 +01:00
Raimund Schlüßler
12cd165975
Add a week view test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-12 13:27:36 +01:00
Raimund Schlüßler
212982404d
Check that only clicked tasks are active
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-12 12:16:53 +01:00
Raimund Schlüßler
7d2bcbb3d8
Add stricter tests for week collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-09 21:47:34 +01:00
Raimund Schlüßler
10e773a7a2
Add simple test for week view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-07 21:03:44 +01:00
Raimund Schlüßler
b33a08f6d3
Add tests for completed view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 20:28:20 +01:00
Raimund Schlüßler
e75d7fd0ad
Improve test for today collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 20:21:56 +01:00
Raimund Schlüßler
a80b78d946
Add simple test for today view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:52 +01:00
Raimund Schlüßler
6344344f86
Improve tests for starred and current view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-03 07:46:13 +01:00
Raimund Schlüßler
1ac8a278e3
Add test for current view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-11-02 20:01:53 +01:00
Raimund Schlüßler
52b44c8686
Add test for starred view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 22:20:26 +01:00
Raimund Schlüßler
54ceae13f5
Add test for all view
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 21:02:23 +01:00
Raimund Schlüßler
5cd822fde4
Set dav on mocked tasks so we get an uri
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-30 20:12:12 +01:00
Raimund Schlüßler
0c86fe6a50
Add tests for current, today and completed collection
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-29 21:40:54 +01:00
Raimund Schlüßler
befa3782aa
Move creating store into separate file
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-29 21:15:25 +01:00
Raimund Schlüßler
899c2c9af1
Add more tests for general collection component
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 21:58:31 +01:00
Raimund Schlüßler
3bef2de2d3
Add test for general collection component
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:58 +01:00
Raimund Schlüßler
b4833a9dce
Sort tests in javascript and php folders
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:49 +01:00
Raimund Schlüßler
4f07897580
Add tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-28 10:15:17 +01:00
Raimund Schlüßler
03beb4ac24
Add more tests
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:07 +02:00
Raimund Schlüßler
a583946f54
Add tests for summary and priority
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:05 +02:00
Raimund Schlüßler
b87f498bc6
Add test for setting and getting uid, fix model
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:05 +02:00
Raimund Schlüßler
e59a9e5553
Add tests for task model complete and status
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>

Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-10-26 13:59:04 +02:00
Raimund Schlüßler
54baf8c3cf
Fix failing integration test for navigation
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-09-23 16:54:32 +02:00
Raimund Schlüßler
2a8f4032c6
Fix eslint errors
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-09-07 21:59:23 +02:00
Raimund Schlüßler
1ceeb68158
Simplify SettingsService Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-20 10:15:14 +02:00
Raimund Schlüßler
758f55d48f
Add CollectionsService Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-20 09:33:15 +02:00
Raimund Schlüßler
73ad10f887
Add SettingsService Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-20 08:10:32 +02:00
Raimund Schlüßler
2a26bb2326
Add CollectionsController Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-19 09:12:58 +02:00
Raimund Schlüßler
3561ea6b1c Add SettingsController Test
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-18 21:35:50 +02:00
Raimund Schlüßler
c914fd25bb
Add test for AppInfo
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-07-18 07:49:18 +02:00
Raimund Schlüßler
eb179b0087
Setup Javascript and PHP tests and badges
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2019-06-14 19:41:05 +02:00
Raimund Schlüßler
2150c2f39c
Test sort by due date 2019-04-22 21:54:50 +02:00
Raimund Schlüßler
f0a1348bb5
Update dependencies, fix jest config, fix style 2019-01-25 20:36:46 +01:00