Julius Härtl
aeb05d3687
Remove rather useless unit tests that are just passing arguments
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 16:01:56 +01:00
Julius Härtl
74814ad614
Fix test mocking
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-01-04 12:10:54 +01:00
Julius Härtl
a46d31caf2
Expose etag through JSON responses for child elements
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-11-10 18:04:20 +01:00
Julius Härtl
19cdd31c40
Fix PageController tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-09-15 09:11:13 +02:00
Julius Härtl
6114c28b10
Remove unneeded cardId parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-07-11 12:21:37 +02:00
Julius Härtl
fc5c34897e
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-05-06 09:42:38 +02:00
Julius Härtl
52febb396c
Fix php cs issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-22 19:57:19 +02:00
Julius Härtl
17c63989b1
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-01 20:52:13 +02:00
Julius Härtl
d6eac1b11a
Add frontend for assigning groups to cards
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-04-01 20:52:09 +02:00
Julius Härtl
59e3c8ce61
Add back initial state and check for filesize and canCreate permissions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-03-12 10:56:23 +01:00
Julius Härtl
bdc149aa6b
Move default board creation to Application and cleanup code
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2020-01-26 12:14:51 +01:00
Julius Härtl
2089f5df73
Merge remote-tracking branch 'origin/master' into vue
2019-12-17 20:36:16 +01:00
Julius Härtl
4c0512f0b7
Bump phpunit and fix CI
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2019-12-17 20:25:57 +01:00
Jakob
d3efff0ce7
default board color is now blue
...
Signed-off-by: Jakob <jakob.roehrl@web.de >
2019-09-10 12:33:19 +02:00
Julius Härtl
8906d12a47
Use regular groups endpoint to support Nextcloud 13
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-12-05 18:31:54 +01:00
Julius Härtl
0528bd59d1
Fix tests for group restrictions
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-12-04 09:25:35 +01:00
Julius Härtl
9cf30bf5fd
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-11-06 19:44:29 +01:00
Ryan Fletcher
37a2858d5f
wrote attachment api controller, fixed bug caught by unit test in CardService
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:22 +02:00
Ryan Fletcher
e88c9a760d
Wrote unit tests for AttachmentApiController and stubbed out AttachmentApicontroller. Trying out test driven development.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:21 +02:00
Ryan Fletcher
184cd00a8b
Wrote initial unit tests for LabelApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:21 +02:00
Ryan Fletcher
9c81584b02
Wrote tests for CardApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
f1169b9c7e
finished writing StackApiControllerTest.php
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
f2268c7f58
Moved Data Response checks into stack serivice, cleaned up related unit tests.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
d33dd3e0fc
Moved BadRequestException checks to middleware, removed uneeded unit tests in BoardApiController
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:20 +02:00
Ryan Fletcher
570ac81848
added the create tests in StackApiControllerTest
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
5719e9f134
Wrote unit tests against StackApiController -> get()
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
891fa7b7d5
Created index tests for StackApiTestController
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
54f110f7c6
first attempt at BoardApiControllerTest->testGetNoPermission()
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:19 +02:00
Ryan Fletcher
6d57b1081a
BoardApiControllerTest wrote delete tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
8dd732631a
BoardApiController wrote update tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
1fe70568cb
Wrote unit tests for the BoardApiController -> create tests
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
bd254fd261
BoardApiControllerTest wrote get() tests.
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
fad579c4d3
Wrote first unit test for BoardApiController
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:18 +02:00
Ryan Fletcher
881b05aeb1
fixed BoardControllerTest from errors
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-08-15 21:15:17 +02:00
Manuel Arno Korfmann
5ddfb66633
Card,Stack undo delete: CardServiceTest fix
...
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Stack,Card undo delete: Test Fix 2
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Card, Stack undo delete: Test fix 3
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Card,Stack undo delete: Test fix 4
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Stack, Card undo delete: Relative time in deleted entity listings
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Card, Stack undo delete: Test Fix 5
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Test Fix 6
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
Test Fix 7
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
fix codacy
Signed-off-by: Manuel Arno Korfmann <manu@korfmann.info >
2018-08-15 20:33:31 +02:00
Ryan Fletcher
8d4dbd4d82
Fixed up code styles as per review by juliushaertl
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-07-12 11:17:11 -04:00
Ryan Fletcher
be8a3479ac
Updated PageControllerTest.php to reflect new changes
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-07-11 13:33:04 -04:00
Ryan Fletcher
2002841c61
Wrote unit tests for checkFirstRun method in the default board service
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-07-11 12:59:40 -04:00
Ryan Fletcher
08f9874745
Updated constructor in PageControllerTest
...
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca >
2018-07-11 11:50:11 -04:00
Julius Härtl
7ad8080f82
Add unit tests for new classes
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2018-06-19 18:00:06 +02:00
Julius Härtl
a322c7a3b5
Tests: Add integration test for user assignment
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-10-23 22:12:08 +02:00
Julius Härtl
9cfb561c1c
Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-08-06 14:25:10 +02:00
Julius Härtl
2063e1d9f4
Fix unit tests for duedate
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-06-19 10:36:29 +02:00
Julius Härtl
19a90809f9
Add more unit testing
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-06-08 19:35:44 +02:00
Julius Härtl
90eb9ce28e
Fix unit tests for board archiving
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-06-08 19:35:42 +02:00
Julius Härtl
b6d94ec9ff
Add stack sorting functionality
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-05-23 22:54:44 +02:00
Julius Härtl
6033baca23
Remove old search endpoint
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2017-04-26 14:54:56 +02:00
Julius Haertl
f936afd972
Rename permissions in backend
2017-01-19 11:03:33 +01:00
Julius Haertl
bfeed48886
Fix CardControllerTest
2017-01-18 16:41:54 +01:00
Julius Haertl
140c860944
Testing BoardMapper
2017-01-18 14:43:00 +01:00