1
0
mirror of https://github.com/flarum/core.git synced 2025-08-13 11:54:32 +02:00

feat(em): port extension manager from 1.0 (#3959)

* feat(em): port extension manager from 1.0

* Apply fixes from StyleCI

* chore: phpstan

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
This commit is contained in:
Sami Mazouz
2024-01-22 18:58:08 +01:00
committed by GitHub
parent 8f29b7af82
commit 3fbe05fd18
114 changed files with 2003 additions and 636 deletions

View File

@@ -7,10 +7,10 @@
* LICENSE file that was distributed with this source code.
*/
namespace Flarum\PackageManager\Tests\integration\api;
namespace Flarum\ExtensionManager\Tests\integration\api;
use Flarum\PackageManager\Tests\integration\RefreshComposerSetup;
use Flarum\PackageManager\Tests\integration\TestCase;
use Flarum\ExtensionManager\Tests\integration\RefreshComposerSetup;
use Flarum\ExtensionManager\Tests\integration\TestCase;
class GlobalUpdateTest extends TestCase
{
@@ -22,7 +22,7 @@ class GlobalUpdateTest extends TestCase
public function can_global_update()
{
$response = $this->send(
$this->request('POST', '/api/package-manager/global-update', [
$this->request('POST', '/api/extension-manager/global-update', [
'authenticatedAs' => 1,
])
);