feat: CI/CD pipeline setup complete - Ansible playbooks updated, secrets configured, workflow ready

This commit is contained in:
2025-10-31 01:39:24 +01:00
parent 55c04e4fd0
commit e26eb2aa12
601 changed files with 44184 additions and 32477 deletions

View File

@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
use App\Framework\Attributes\StaticPage;
describe('StaticPage', function () {
it('constructs with default values', function () {
$staticPage = new StaticPage();
expect($staticPage->outputPath)->toBeNull();
expect($staticPage->prerender)->toBeTrue();
});
it('constructs with custom output path', function () {
$staticPage = new StaticPage(outputPath: 'custom/path/index.html');
expect($staticPage->outputPath)->toBe('custom/path/index.html');
expect($staticPage->prerender)->toBeTrue();
});
it('constructs with prerender disabled', function () {
$staticPage = new StaticPage(prerender: false);
expect($staticPage->outputPath)->toBeNull();
expect($staticPage->prerender)->toBeFalse();
});
it('constructs with all parameters', function () {
$staticPage = new StaticPage(
outputPath: 'static/pages/about.html',
prerender: false
);
expect($staticPage->outputPath)->toBe('static/pages/about.html');
expect($staticPage->prerender)->toBeFalse();
});
});