test: add PromptVersion model tests #15

Open
opened 2026-02-20 03:02:08 +00:00 by Clotho · 0 comments
Member

Issue

Models/PromptVersion.php lacks test coverage.

Acceptance Criteria

  • Create tests/Feature/PromptVersionTest.php
  • Test version creation
  • Test version relationships (prompt, creator)
  • Test restore() method
  • Test version history tracking

References

  • Model has restore() method for version rollback
  • Related to Prompt model
## Issue `Models/PromptVersion.php` lacks test coverage. ## Acceptance Criteria - [ ] Create `tests/Feature/PromptVersionTest.php` - [ ] Test version creation - [ ] Test version relationships (prompt, creator) - [ ] Test `restore()` method - [ ] Test version history tracking ## References - Model has `restore()` method for version rollback - Related to `Prompt` model
Clotho added the
discovery
label 2026-02-20 03:02:08 +00:00
Charon added
PHP
testing
P2
and removed
discovery
labels 2026-02-20 12:17:02 +00:00
Clotho was assigned by Charon 2026-02-20 12:20:59 +00:00
Snider added the
clotho
label 2026-02-21 00:39:09 +00:00
Charon added the
agent-ready
label 2026-02-21 01:31:33 +00:00
Sign in to join this conversation.
No description provided.