Julius Härtl
9867f2a856
tests: Avoid using dynamic properties
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-12-06 14:21:58 +01:00
Julius Härtl
1a57c10741
perf: Already pass board list as initial state
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-11-13 09:05:43 +01:00
Julius Härtl
0985f24f57
chore: Fix php-cs-fixer errors
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-06-05 22:26:08 +02:00
Julius Härtl
46df19a3a6
fix: Fix tests
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2023-02-17 09:16:28 +01:00
raul
24a4260e55
Fix deleteAcl
...
Signed-off-by: raul <raul@nextcloud.com >
2022-09-22 08:46:35 +02:00
Carl Schwan
44481e1c2a
Switch from OC::$server->get to OCP\Server::get
...
And add a bit more typing to some classes + psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu >
2022-05-12 10:55:36 +02:00
Luka Trovic
165375fbab
fix: generate fixed link for activity emails
...
Signed-off-by: Luka Trovic <luka@nextcloud.com >
fix: generate fixed link for activity emails
Signed-off-by: Luka Trovic <luka@nextcloud.com >
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2022-03-09 16:57:31 +01:00
Vitor Mattos
f2b6934ac3
Move all classes to a sub-namespace
...
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:50 +01:00
Vitor Mattos
202ea30090
Start implementing Trello API service
...
Implement name of system to import
Implement need validate data
Fix allowed system list
Start implementing Trello API service
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:49 +01:00
Vitor Mattos
4138953208
Changes to make possible implement api endpoint
...
Update documentation
Start implementing getSystems route
Code to route getSystems
Controller to board import
Change return
Increase coverage
Signed-off-by: Vitor Mattos <vitor@php.rio >
2021-12-30 11:19:49 +01:00
Julius Härtl
596834853b
Fix codestyle issues
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-12-29 11:43:57 +01:00
Julius Härtl
f6eea0e467
Refactor update to have proper order of optional parameters
...
Signed-off-by: Julius Härtl <jus@bitgrid.net >
2021-05-28 14:13:25 +02:00
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