summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-10 11:02:27 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-10 11:02:27 +0100
commit75c3d646350d03d113ba6565603ce77d1226cef3 (patch)
tree76e3538e5c9c494ef10879532e19eb68c2e8d429 /tests
parente5dbddaab80fd3fe9f202e1e859bf45efcb94f50 (diff)
parent29b6a03fc1b81a2ae8272e2b18d57335558955d0 (diff)
downloadnextcloud-server-75c3d646350d03d113ba6565603ce77d1226cef3.tar.gz
nextcloud-server-75c3d646350d03d113ba6565603ce77d1226cef3.zip
Merge pull request #21105 from owncloud/fix-risky-test-comments
Add assertion to test
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/comments/comment.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/comments/comment.php b/tests/lib/comments/comment.php
index ae7e913eaab..02adea8729e 100644
--- a/tests/lib/comments/comment.php
+++ b/tests/lib/comments/comment.php
@@ -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() {