diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-03 19:28:15 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2016-02-03 19:28:15 +0100 |
commit | 9370491822dd6aca5dfa0b2d15a3c34d4f035566 (patch) | |
tree | e1a56ea1475affc04f84c71ef62fb3fc0a2ef487 /tests/lib/comments/comment.php | |
parent | c0322b3f983635ee3653a13837ae29e152e78803 (diff) | |
download | nextcloud-server-9370491822dd6aca5dfa0b2d15a3c34d4f035566.tar.gz nextcloud-server-9370491822dd6aca5dfa0b2d15a3c34d4f035566.zip |
types shall always be plural
Diffstat (limited to 'tests/lib/comments/comment.php')
-rw-r--r-- | tests/lib/comments/comment.php | 8 |
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', ' ', ' '], ]; |