summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/api.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-09-25 09:43:16 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-09-25 09:43:16 +0200
commit333d3eda993a2af26639cb73d60a79fb9322826b (patch)
tree4432d2bd70602936e4f3d6314da3fe12c3b3e25c /apps/files_sharing/tests/api.php
parent259f03bee28eee019dbd0b23d33040bf9a76242d (diff)
downloadnextcloud-server-333d3eda993a2af26639cb73d60a79fb9322826b.tar.gz
nextcloud-server-333d3eda993a2af26639cb73d60a79fb9322826b.zip
add error message to the assert
Diffstat (limited to 'apps/files_sharing/tests/api.php')
-rw-r--r--apps/files_sharing/tests/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/tests/api.php b/apps/files_sharing/tests/api.php
index a112ae7b27c..02adff7dfaa 100644
--- a/apps/files_sharing/tests/api.php
+++ b/apps/files_sharing/tests/api.php
@@ -25,7 +25,7 @@ require_once __DIR__ . '/../../../lib/base.php';
use OCA\Files\Share;
/**
- * Class Test_Encryption_Share
+ * Class Test_Files_Sharing_Api
*/
class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
@@ -255,7 +255,7 @@ class Test_Files_Sharing_Api extends \PHPUnit_Framework_TestCase {
$result = Share\Api::updateShare($params);
- $this->assertTrue($result->succeeded());
+ $this->assertTrue($result->succeeded(), $result->getMeta()['message']);
$items = \OCP\Share::getItemShared('file', $userShare['file_source']);