Browse Source
Fix dav comments
remotes/origin/integration_test_favorites
Roeland Jago Douma
10 years ago
No known key found for this signature in database
GPG Key ID: 1E152838F164D13B
1 changed files with
0 additions and
10 deletions
-
apps/dav/tests/unit/comments/commentsplugin.php
|
|
|
@ -449,16 +449,6 @@ class CommentsPlugin extends \Test\TestCase { |
|
|
|
->with('users', 'alice', 'files', '42') |
|
|
|
->will($this->returnValue($comment)); |
|
|
|
|
|
|
|
$this->commentsManager->expects($this->any()) |
|
|
|
->method('setMessage') |
|
|
|
->with('') |
|
|
|
->will($this->throwException(new \InvalidArgumentException())); |
|
|
|
|
|
|
|
$this->commentsManager->expects($this->any()) |
|
|
|
->method('setVerb') |
|
|
|
->with('') |
|
|
|
->will($this->throwException(new \InvalidArgumentException())); |
|
|
|
|
|
|
|
$this->userSession->expects($this->once()) |
|
|
|
->method('getUser') |
|
|
|
->will($this->returnValue($user)); |
|
|
|
|