Skip to content

Conversation

@juliusknorr
Copy link
Member

1) Test\Files\ViewTest::testRenameFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

2) Test\Files\ViewTest::testCopyFailDeleteTargetKeepSource
Trying to configure method "writeStream" which cannot be configured because it does not exist, has not been specified, is final, or is static

In addition to properly mocking writeStream and throwing an exception the tests failed because the result in moveFromStorage was constructed using an assignment operator which lead to (int)1 instead of a boolean.

@rullzer
Copy link
Member

rullzer commented Jan 5, 2021

/backport to stable20

@juliusknorr juliusknorr merged commit 9b9c1aa into master Jan 5, 2021
@juliusknorr juliusknorr deleted the bugfix/noid/copy-tests branch January 5, 2021 14:49
@rullzer rullzer mentioned this pull request Jan 6, 2021
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants