* Return the flight fares if there are no subfleet fares #488 * Formatting * Formatting
This commit is contained in:
@@ -177,7 +177,7 @@ class FinanceTest extends TestCase
|
||||
'capacity' => $percent_200,
|
||||
]);
|
||||
|
||||
$ac_fares = $this->fareSvc->getForFlight($flight);
|
||||
$ac_fares = $this->fareSvc->getAllFares($flight, null);
|
||||
|
||||
$this->assertCount(1, $ac_fares);
|
||||
$this->assertEquals($new_price, $ac_fares[0]->price);
|
||||
|
||||
@@ -37,7 +37,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
/**
|
||||
* @throws Exception
|
||||
*/
|
||||
public function setUp() : void
|
||||
public function setUp(): void
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
@@ -52,7 +52,7 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
Artisan::call('migrate:refresh', ['--env' => 'testing']);
|
||||
}
|
||||
|
||||
public function tearDown() : void
|
||||
public function tearDown(): void
|
||||
{
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user