Conversation
|
@miaulalala Any chance you could have a look at the failing ones in |
|
@juliushaertl Not sure if that did the trick. Removed some superfluous text from the VEvent. |
|
@miaulalala I pushed my attempts to fix but tbh I have no idea what this is testing 🙈 I've added some fixme statements to where I think you might be able to tell with the Imip knowledge. The previous attempt to mock the method calls didn't work so I refactored that a bit so the individual getPlugin methods could be mocked, but the mocking seems quite extensive but I currently don't see a better way. |
I changed some bits, not sure if it did the trick as I keep having issues with running tests locally. Let's see what CI says. |
|
I managed to make them pass, though I'm not really sure if the adjustments make sense. Maybe you can double check that @miaulalala Besides that after the rebase there are more calendar related warnings (which means the tests don't run): Running them locally should be just a matter of running this command on an active development instance: |
|
No it shouldn't be, as your branch still has the old interface... |
|
My tests now pass locally. Do yours? |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
b001804 to
e29720f
Compare
|
Thanks, yep seems to all pass now :) Thanks for your help |
apps/dav/lib/CalDAV/InvitationResponse/InvitationResponseServer.php
Outdated
Show resolved
Hide resolved
apps/dav/tests/unit/BackgroundJob/CleanupInvitationTokenJobTest.php
Outdated
Show resolved
Hide resolved
I don't have a good idea how to adapt Other than that no blocker from my side |
|
@juliushaertl I don't remember the details but I do remember struggling with the fact that we use GlobalStoragesService in the test while the app might not be enabled for all tests. I vaguely remember that I might have just enabled the files_external app always in enable.php as a workaround. if that test is the only issue I suggest we handle this separately so we can merge this PR ? |
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
come-nc
left a comment
There was a problem hiding this comment.
I applied my suggestions, good to merge for me.
Test\Encryption\UtilTest will be fixed later in an other PR.
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
|
…plTest.php Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
The NODB tests currently have plenty of warnings that do not fail the tests but are cases that are not running properly:
Once fixed we should probably add the
failOnWarning="true"option to our phpunit config.