mirror of
https://github.com/Cacti/cacti.git
synced 2026-10-30 00:26:50 +09:00
* fix(packaging): name archives from supplied metadata Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * fix(packaging): make archive leaf-name confinement explicit Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * test(e2e): move the pointer off the Deepness multiselect button Deepness sets a zero body margin, so the unhovered #ms-button sits at the viewport origin and headless Chromium on Linux intermittently applies :hover to it. Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> * ci: pull pinned integration database from authenticated mirror Signed-off-by: Thomas Vincent <thomasvincent@gmail.com> --------- Signed-off-by: Thomas Vincent <thomasvincent@gmail.com>
14 lines
605 B
PHP
14 lines
605 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
// Copyright (C) 2004-2026 The Cacti Group. GPL-2.0-or-later.
|
|
|
|
use Symfony\Component\Process\Process;
|
|
|
|
test('package archives use their supplied metadata independently of request fields', function (): void {
|
|
$process = new Process([PHP_BINARY, dirname(__DIR__, 3) . '/fixtures/Core/PackageArchive.php']);
|
|
$process->setTimeout(30);
|
|
$process->run();
|
|
expect($process->getExitCode())->toBe(0, $process->getOutput() . $process->getErrorOutput());
|
|
expect($process->getOutput())->toBe("PASS: package archive without request fields and with unrelated request fields\n");
|
|
});
|