markTestSkipped('Please set the MYSQL_* environment variables to your test database credentials.'); } Intercept::setUp(); $this->setUpVfsDir(); $configMock = \Mockery::mock('Friendica\Core\Config\ConfigCache'); $this->mockApp($this->root, $configMock); } /** * Dumps the execution of an console output to a string and returns it * * @param Console $console The current console instance * * @return string the output of the execution */ protected function dumpExecute($console) { Intercept::reset(); $console->execute(); $returnStr = Intercept::$cache; Intercept::reset(); return $returnStr; } }