Problem

  • TestBase::tearDown() cleans up the database + file system after executing a test, but business logic belongs to the "test runner" operations, which are all performed in TestBase::run().

Proposed solution

  1. Move test environment clearing from TestBase::tearDown() into TestBase::run().

Comments

sun’s picture

Status: Active » Closed (duplicate)