We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c32e0e9 commit b81d048Copy full SHA for b81d048
integTests/ForecastDailyTest.php
@@ -18,12 +18,11 @@
18
namespace Cmfcmf\OpenWeatherMap\IntegTests;
19
20
use Cmfcmf\OpenWeatherMap;
21
-use Cmfcmf\OpenWeatherMap\Exception as OWMException;
22
23
class ForecastDailyTest extends \PHPUnit_Framework_TestCase
24
{
25
/**
26
- * @var \OpenWeatherMap
+ * @var OpenWeatherMap
27
*/
28
protected $owm;
29
@@ -32,8 +31,7 @@ protected function setUp()
32
31
$ini = parse_ini_file(__DIR__ . '/ApiKey.ini');
33
$apiKey = $ini['api_key'];
34
35
- $this->owm = new OpenWeatherMap();
36
- $this->owm->setApiKey($apiKey);
+ $this->owm = new OpenWeatherMap($apiKey);
37
}
38
39
public function testTemperatureMetric()
0 commit comments