public function addCorrectElasticsearchLog(\CodeGuy $I, \Codeception\Scenario $scenario) { if ($scenario->running() === false) { return; } $I->removeEmergencyLog(); $I->flushElasticsearch(); $I->addElasticsearchLog('CorrectLog'); $I->dontSeeEmergencyLog(); $I->seeElasticsearchLog('CorrectLog'); }
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'); }