From 3744dbfd5d76a42857f07c6265a288ae015d5f13 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Fri, 30 Mar 2018 21:56:55 -0500 Subject: [PATCH] few more checks on aircraft fields --- tests/ImporterTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/ImporterTest.php b/tests/ImporterTest.php index 0e3e831b..7b31242a 100644 --- a/tests/ImporterTest.php +++ b/tests/ImporterTest.php @@ -552,12 +552,13 @@ class ImporterTest extends TestCase ])->first(); $this->assertNotNull($aircraft); + $this->assertNotNull($aircraft->hex_code); $this->assertEquals($subfleet->id, $aircraft->id); $this->assertEquals($subfleet->type, $aircraft->subfleet->type); $this->assertEquals('A320-211', $aircraft->name); $this->assertEquals('N309US', $aircraft->registration); - $this->assertEquals('A', $aircraft->status); $this->assertEquals(null, $aircraft->zfw); + $this->assertEquals('A', $aircraft->status); } /**