mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 23:59:27 -04:00
add error message to the assert
This commit is contained in:
parent
259f03bee2
commit
333d3eda99
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue