public function tearDown() { ConnectionManager::drop('twitter'); StreamWrapper::restoreWrapper('https'); }
public function testUsingAuth() { StreamWrapper::emulate(HttpEmulation::fromCallable(function () { return new Response(); })); $client = new Client(['auth' => ['type' => 'CvoTechnologies/Twitter.Twitter']]); $client->get('https://example.com'); }
public function tearDown() { StreamWrapper::restoreWrapper('https'); Cache::clear(); }
public function tearDown() { parent::tearDown(); unset($this->webservice); StreamWrapper::restoreWrapper('https'); }
protected function tearDown() { StreamWrapper::restoreWrapper('https'); }