aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-28 13:15:56 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-09-03 16:07:49 +0200
commit4d2556d4cf014edfc5c609dfff5c52e963979b93 (patch)
tree7a4f3e16a6bacdd863ba40f76a8884206064a0e9 /tests
parent7b6c78c81d4bd5e280f370b95ca2746cd8693882 (diff)
downloadnextcloud-server-4d2556d4cf014edfc5c609dfff5c52e963979b93.tar.gz
nextcloud-server-4d2556d4cf014edfc5c609dfff5c52e963979b93.zip
refactor(IMenuAction): Make public menu actions use the new Vue UI
This removes custom rendering code an replaces it with the declarative menu actions. Also adjust the template to allow the Vue UI to mount. Custom entries still are possible. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/AppFramework/Http/PublicTemplateResponseTest.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Http/PublicTemplateResponseTest.php b/tests/lib/AppFramework/Http/PublicTemplateResponseTest.php
index fbed0746751..6b6e6fd429c 100644
--- a/tests/lib/AppFramework/Http/PublicTemplateResponseTest.php
+++ b/tests/lib/AppFramework/Http/PublicTemplateResponseTest.php
@@ -14,7 +14,6 @@ use Test\TestCase;
class PublicTemplateResponseTest extends TestCase {
public function testSetParamsConstructor() {
$template = new PublicTemplateResponse('app', 'home', ['key' => 'value']);
- $this->assertContains('core/js/public/publicpage', \OC_Util::$scripts);
$this->assertEquals(['key' => 'value'], $template->getParams());
}
@@ -57,7 +56,6 @@ class PublicTemplateResponseTest extends TestCase {
public function testGetRenderAs() {
$template = new PublicTemplateResponse('app', 'home', ['key' => 'value']);
- $this->assertContains('core/js/public/publicpage', \OC_Util::$scripts);
$this->assertEquals(['key' => 'value'], $template->getParams());
$this->assertEquals('public', $template->getRenderAs());
}