mirror of
https://github.com/nextcloud/server.git
synced 2026-04-22 14:50:17 -04:00
Merge pull request #21105 from owncloud/fix-risky-test-comments
Add assertion to test
This commit is contained in:
commit
75c3d64635
1 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,8 @@ class Test_Comments_Comment extends TestCase
|
|||
$comment = new \OC\Comments\Comment();
|
||||
$comment->setId('c23');
|
||||
$comment->setId('');
|
||||
|
||||
$this->assertSame('', $comment->getId());
|
||||
}
|
||||
|
||||
public function simpleSetterProvider() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue