diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2016-05-10 09:44:50 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-05-10 09:44:50 +0200 |
commit | e8e72aa9101b1c4b7e321dd3f17dcc9462f34a8f (patch) | |
tree | 0eec63cb17f7ad60130474a0bbdcbfaaa281d884 /tests | |
parent | 1fb7be42e55236c2663b52f89a85b54d81ae08ba (diff) | |
parent | 254576e1f7f5ec610ddbd9de81005397191cf52f (diff) | |
download | nextcloud-server-e8e72aa9101b1c4b7e321dd3f17dcc9462f34a8f.tar.gz nextcloud-server-e8e72aa9101b1c4b7e321dd3f17dcc9462f34a8f.zip |
Merge pull request #24434 from owncloud/permalinks
Permalinks
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/share/MailNotificationsTest.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/lib/share/MailNotificationsTest.php b/tests/lib/share/MailNotificationsTest.php index 8c8ca78f39a..f160fed57ae 100644 --- a/tests/lib/share/MailNotificationsTest.php +++ b/tests/lib/share/MailNotificationsTest.php @@ -222,7 +222,7 @@ class MailNotificationsTest extends \Test\TestCase { $mailNotifications->method('getItemSharedWithUser') ->withAnyParameters() ->willReturn([ - ['file_target' => '/welcome.txt'] + ['file_target' => '/welcome.txt', 'item_source' => 123], ]); $recipient = $this->getMockBuilder('\OCP\IUser') @@ -239,10 +239,9 @@ class MailNotificationsTest extends \Test\TestCase { $this->urlGenerator->expects($this->once()) ->method('linkToRouteAbsolute') ->with( - $this->equalTo('files.view.index'), + $this->equalTo('files.viewcontroller.showFile'), $this->equalTo([ - 'dir' => '/', - 'scrollto' => 'welcome.txt' + 'fileId' => 123, ]) ); |