From 79736eb1cf6abacb2b79c8b8f8ca52d1cfcc6715 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 25 Nov 2015 19:52:04 +0100 Subject: fix tests --- appinfo/register_command.php | 4 ++-- appinfo/routes.php | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'appinfo') diff --git a/appinfo/register_command.php b/appinfo/register_command.php index dc6b4fe31..91e379525 100644 --- a/appinfo/register_command.php +++ b/appinfo/register_command.php @@ -9,12 +9,12 @@ * @copyright Bernhard Posselt 2015 */ -use OCA\News\Command\GenerateSearchIndices; +use OCA\News\Command\Migrate; use OCA\News\Command\VerifyInstall; $newsApp = new OCA\News\AppInfo\Application(); $newsContainer = $newsApp->getContainer(); -$newsCmd = $newsContainer->query(GenerateSearchIndices::class); +$newsCmd = $newsContainer->query(Migrate::class); $verifyCmd = $newsContainer->query(VerifyInstall::class); $application->add($newsCmd); diff --git a/appinfo/routes.php b/appinfo/routes.php index 979ca3dac..9ebee93ef 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -21,6 +21,7 @@ return ['routes' => [ // admin ['name' => 'admin#update', 'url' => '/admin', 'verb' => 'PUT'], +['name' => 'admin#migrate', 'url' => '/admin/migrate', 'verb' => 'POST'], // folders ['name' => 'folder#index', 'url' => '/folders', 'verb' => 'GET'], -- cgit v1.2.3