setDeletedDateTime(new DateTime()); ActivityTestEnv::setUpActivity(PgcPlatformId::EVAGIC, $subOrganisation, $authUser); ActivityTestEnv::setUpActivity(PgcPlatformId::HELFEREINSATZ, $subOrganisation, $authUser); ActivityTestEnv::setUpActivity(PgcPlatformId::EVAGIC, $subOrganisation2, $authUser); ActivityTestEnv::setUpActivity(PgcPlatformId::HELFEREINSATZ, $deletedSubOrganisation, $authUser); ActivityTestEnv::setUpActivity(PgcPlatformId::EVAGIC, $subOrganisation, $authUser2); $tx->commit(); $this->authUser1PgcId = $authUser->getPgcId(); $this->authUser2PgcId = $authUser2->getPgcId(); $this->subOrganisation1PgcId = $subOrganisation->getPgcId(); $this->subOrganisation2PgcId = $subOrganisation2->getPgcId(); } }