mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-27 17:55:59 -04:00
feat(domains): support per-domain internal port overrides (#11594)
This commit is contained in:
@@ -29,6 +29,14 @@ it('ensures label parsing converts array values to strings', function () {
|
||||
->toContain('$removedLabel = (string) collect($removedLabel)->first();');
|
||||
});
|
||||
|
||||
it('falls back to the template port for service application proxy labels', function () {
|
||||
$sharedFile = file_get_contents(__DIR__.'/../../bootstrap/helpers/shared.php');
|
||||
|
||||
expect($sharedFile)->toContain(
|
||||
'? ($savedService->getRequiredPort() ?? $predefinedPort)'
|
||||
);
|
||||
});
|
||||
|
||||
it('verifies label parsing array check occurs before preg_match', function () {
|
||||
// Read the parseDockerComposeFile function from shared.php
|
||||
$sharedFile = file_get_contents(__DIR__.'/../../bootstrap/helpers/shared.php');
|
||||
|
||||
Reference in New Issue
Block a user