Globale Live-Suche, Kontaktkarten-Personensuche, neue Beitragsansicht, Termine mit Seitenleiste, Demo-Inhalte, Plugin-Upload-Fix
Some checks failed
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m24s
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m26s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 3m41s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 3m46s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m31s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m16s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m18s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m14s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-26 19:07:13 +00:00
parent 9b06e65802
commit b276e1c6d0
211 changed files with 3580 additions and 1072 deletions

View file

@ -382,12 +382,21 @@ class PluginSystemTest extends TestCase
Livewire::test(Plugins::class)
->set('archive', UploadedFile::fake()->createWithContent('plugin.zip', file_get_contents($zip)))
->call('upload')
->call('installArchive')
->assertHasNoErrors();
$this->assertFileExists($this->dir.'/custom/seite-hochgeladen/plugin.json');
}
public function test_upload_form_does_not_use_livewires_reserved_upload_method(): void
{
// $wire.upload() ist Livewires eigene Datei-Upload-Funktion – ein gleichnamiger
// Formular-Handler wird im Browser nie aufgerufen.
$view = file_get_contents(resource_path('views/filament/pages/plugins.blade.php'));
$this->assertStringNotContainsString('wire:submit="upload"', $view);
$this->assertFalse(method_exists(Plugins::class, 'upload'));
}
private function zipDirectory(string $source, string $prefix): string
{
$zip = $this->dir.'/'.basename($source).'-'.bin2hex(random_bytes(2)).'.zip';