Save airport timezone (#1112)

* Fix airport timezone lookup

* Save timezone to the airport when importing
This commit is contained in:
Nabeel S
2021-03-29 15:49:34 -04:00
committed by GitHub
parent 9c4aced837
commit 96fff0248d
4 changed files with 43 additions and 2 deletions

View File

@@ -88,6 +88,16 @@ abstract class TestCase extends \Illuminate\Foundation\Testing\TestCase
});
}
/**
* @param $mocks
*/
protected function addMocks($mocks)
{
$handler = HandlerStack::create($mocks);
$client = new Client(['handler' => $handler]);
$this->client->httpClient = $client;
}
/**
* @param $user
* @param array $headers