Skip to content

✅ Unit-Tests (CredentialEncryption) + CI#1

Merged
schmunk42 merged 2 commits into
masterfrom
feature/unit-tests
Jun 14, 2026
Merged

✅ Unit-Tests (CredentialEncryption) + CI#1
schmunk42 merged 2 commits into
masterfrom
feature/unit-tests

Conversation

@schmunk42

Copy link
Copy Markdown
Member

Was

Erste Unit-Test-Suite für dieses Paket.

  • Unit-Tests (PHPUnit 12) für CredentialEncryption (XChaCha20-Poly1305 Round-Trip, Key-Validierung, Nonce-Randomisierung, Auth-Decryption-Fehlerfälle)
  • CLI-only docker-compose.yml als Test-Runner (docker compose run --rm php), mit ext-sodium
  • GitHub-Actions-Workflow (Matrix PHP 8.2/8.4, sodium)
  • phpunit ^12 in require-dev, .gitignore

Lokal grün verifiziert (7 Tests).

Follow-up möglich: IriReferenceArrayMapper/IriReferenceArrayProperty (Unit) sowie UuidResolver (Integration).

🤖 Generated with Claude Code

schmunk42 and others added 2 commits June 14, 2026 03:06
…-Action [*]

Unit-Tests (PHPUnit 12) für CredentialEncryption, CLI-only docker-compose-Runner (composer install + vendor/bin/phpunit), GitHub-Actions-Workflow (PHP 8.2/8.4, ext-sodium), .gitignore. phpunit ^12 in require-dev.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
8.2 fiel raus: PHPUnit 12 verlangt PHP >=8.3, daher schlug composer install im 8.2-Job fehl. Runtime-Constraint des Pakets (>=8.2) bleibt unverändert.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@schmunk42 schmunk42 merged commit 1f000c7 into master Jun 14, 2026
4 checks passed
@schmunk42 schmunk42 deleted the feature/unit-tests branch June 14, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant