Skip to main content
Run any Skill in Manus
with one click

test-teardown-rollback-before-mockery

Stars7
Forks0
UpdatedJune 2, 2026 at 18:54

Order test tearDown so the RefreshDatabase rollback runs BEFORE Mockery::close(), so an unmet mock expectation can never skip the rollback and cascade an "active transaction" suite-wide failure (R41).

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly