public function addCorrectRedisLog(\CodeGuy $I, \Codeception\Scenario $scenario) { if ($scenario->running() === false) { return; } $I->removeEmergencyLog(); $I->flushRedis(); $I->addRedisLog('CorrectLog'); $I->dontSeeEmergencyLog(); $I->seeRedisLog('CorrectLog'); }