add error message to the assert

remotes/origin/stable6
Thomas Müller 12 years ago
parent 259f03bee2
commit 333d3eda99
  1. 4
      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']);

Loading…
Cancel
Save