fix: DockerSecretsResolver - don't normalize absolute paths like /var/www/html/...
Some checks failed
Deploy Application / deploy (push) Has been cancelled

This commit is contained in:
2025-11-24 21:28:25 +01:00
parent 4eb7134853
commit 77abc65cd7
1327 changed files with 91915 additions and 9909 deletions

View File

@@ -48,6 +48,22 @@ expect()->extend('toContainHtml', function (string $needle) {
$haystack = is_string($this->value) ? $this->value : (string) $this->value;
expect($haystack)->toContain($needle);
});
/**
* Assert HTML matches snapshot
* Usage: expect($html)->toMatchSnapshot('counter-initial-state')
*/
expect()->extend('toMatchSnapshot', function (string $snapshotName, bool $updateSnapshot = false) {
$html = is_string($this->value) ? $this->value : (string) $this->value;
\Tests\Feature\Framework\LiveComponents\TestHarness\ComponentSnapshotTest::assertMatchesSnapshot(
$html,
$snapshotName,
$updateSnapshot
);
return $this;
return $this;
});