summaryrefslogtreecommitdiffstats
path: root/tests/lib/comments/comment.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-02-04 10:55:49 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-02-04 10:55:49 +0100
commitb594aa18ee958c955f6f30bed3f446b2cd86cecd (patch)
treee69e1fc766a9c8a96900eb19694f691ed69651fa /tests/lib/comments/comment.php
parentd3c86bdd67972576e2b3849a55f1b1295a5b8dd8 (diff)
parent9370491822dd6aca5dfa0b2d15a3c34d4f035566 (diff)
downloadnextcloud-server-b594aa18ee958c955f6f30bed3f446b2cd86cecd.tar.gz
nextcloud-server-b594aa18ee958c955f6f30bed3f446b2cd86cecd.zip
Merge pull request #22110 from owncloud/comment-types-always-plural
types shall always be plural
Diffstat (limited to 'tests/lib/comments/comment.php')
-rw-r--r--tests/lib/comments/comment.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/comments/comment.php b/tests/lib/comments/comment.php
index 02adea8729e..e6f9c941c96 100644
--- a/tests/lib/comments/comment.php
+++ b/tests/lib/comments/comment.php
@@ -15,10 +15,10 @@ class Test_Comments_Comment extends TestCase
$childrenCount = 6;
$message = 'I like to comment comment';
$verb = 'comment';
- $actor = ['type' => 'user', 'id' => 'alice'];
+ $actor = ['type' => 'users', 'id' => 'alice'];
$creationDT = new \DateTime();
$latestChildDT = new \DateTime('yesterday');
- $object = ['type' => 'file', 'id' => 'file64'];
+ $object = ['type' => 'files', 'id' => 'file64'];
$comment
->setId($id)
@@ -87,11 +87,11 @@ class Test_Comments_Comment extends TestCase
public function roleSetterProvider() {
return [
['Actor', true, true],
- ['Actor', 'user', true],
+ ['Actor', 'users', true],
['Actor', true, 'alice'],
['Actor', ' ', ' '],
['Object', true, true],
- ['Object', 'file', true],
+ ['Object', 'files', true],
['Object', true, 'file64'],
['Object', ' ', ' '],
];