Remove the NotNull checks
This commit is contained in:
parent
9c8c06ef28
commit
f5dcd06838
@ -127,7 +127,6 @@ class MetarTest extends TestCase
|
||||
$parsed['clouds_report_ft']
|
||||
);
|
||||
|
||||
$this->assertNotNull($parsed);
|
||||
}
|
||||
|
||||
public function testMetarTrends3()
|
||||
@ -136,7 +135,6 @@ class MetarTest extends TestCase
|
||||
$metar = Metar::parse($metar);
|
||||
|
||||
$this->assertEquals('VFR', $metar['category']);
|
||||
$this->assertNotNull($metar);
|
||||
}
|
||||
|
||||
public function testMetar4Clouds()
|
||||
@ -144,7 +142,6 @@ class MetarTest extends TestCase
|
||||
$metar = 'KAUS 171153Z 18006KT 9SM FEW015 FEW250 26/24 A3003 RMK AO2 SLP156 T02560244 10267 20239 $';
|
||||
$metar = Metar::parse($metar);
|
||||
|
||||
$this->assertNotNull($metar);
|
||||
$this->assertEquals(2, count($metar['clouds']));
|
||||
$this->assertEquals('A few at 457 meters; a few at 7620 meters', $metar['clouds_report']);
|
||||
$this->assertEquals('A few at 1500 feet; a few at 25000 feet', $metar['clouds_report_ft']);
|
||||
|
Loading…
Reference in New Issue
Block a user