diff options
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', ' ', ' '], ]; |