summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-20 14:43:45 +0200
committerJoas Schilling <coding@schilljs.com>2021-10-20 14:47:28 +0200
commit7f1dc52a66088a4478aa52708e62fbc2ffa7cb57 (patch)
treecfd3324607e083e2c981cca609861ed842571aac /tests
parent5e23800a95290f5e4ca4d5eac8fa222b1ca34a34 (diff)
downloadnextcloud-server-7f1dc52a66088a4478aa52708e62fbc2ffa7cb57.tar.gz
nextcloud-server-7f1dc52a66088a4478aa52708e62fbc2ffa7cb57.zip
Change origin field to appId
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Contacts/ContactsMenu/Actions/LinkActionTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/Contacts/ContactsMenu/Actions/LinkActionTest.php b/tests/lib/Contacts/ContactsMenu/Actions/LinkActionTest.php
index a2530084442..1f5d37e7483 100644
--- a/tests/lib/Contacts/ContactsMenu/Actions/LinkActionTest.php
+++ b/tests/lib/Contacts/ContactsMenu/Actions/LinkActionTest.php
@@ -75,12 +75,12 @@ class LinkActionTest extends TestCase {
$this->action->setName('Nickie Works');
$this->action->setPriority(33);
$this->action->setHref('example.com');
- $this->action->setAppName('contacts');
+ $this->action->setAppId('contacts');
$expected = [
'title' => 'Nickie Works',
'icon' => 'icon-contacts',
'hyperlink' => 'example.com',
- 'appName' => 'contacts',
+ 'appId' => 'contacts',
];
$json = $this->action->jsonSerialize();
@@ -97,7 +97,7 @@ class LinkActionTest extends TestCase {
'title' => 'Nickie Works',
'icon' => 'icon-contacts',
'hyperlink' => 'example.com',
- 'appName' => '',
+ 'appId' => '',
];
$json = $this->action->jsonSerialize();