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

@@ -316,9 +316,14 @@ describe('SmartLink Integration', function () {
// Delete link
$this->service->deleteLink($link->id);
// Verify link is deleted
expect(fn() => $this->service->findById($link->id))
->toThrow(\App\Domain\SmartLink\Exceptions\SmartLinkNotFoundException::class);
// Verify link is deleted - use try-catch instead of toThrow()
$threwCorrectException = false;
try {
$this->service->findById($link->id);
} catch (\App\Domain\SmartLink\Exceptions\SmartLinkNotFoundException $e) {
$threwCorrectException = true;
}
expect($threwCorrectException)->toBeTrue();
// Verify destinations are deleted (getDestinations returns empty array)
$afterDelete = $this->service->getDestinations($link->id);