If you import data into a repository, using importFiles, sometimes that transaction doesn't get committed. The TDD framework then wraps each test in a transaction and rolls back at the end of the test. That rollback, after the 1st test, causes the repository import to rollback too, as it hasn't been committed. Therefore, any repository items needed in further tests are always null.
If you import data into a repository, using importFiles, sometimes that transaction doesn't get committed. The TDD framework then wraps each test in a transaction and rolls back at the end of the test. That rollback, after the 1st test, causes the repository import to rollback too, as it hasn't been committed. Therefore, any repository items needed in further tests are always null.