Load Simbrief and flight data when getting bids #664 (#665)

This commit is contained in:
Nabeel S
2020-04-15 10:11:06 -04:00
committed by GitHub
parent b1bdd40da7
commit 8e97a7cc5c
3 changed files with 40 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
<?php
use App\Exceptions\BidExistsForFlight;
use App\Models\Bid;
use App\Models\Flight;
use App\Models\User;
@@ -136,7 +137,7 @@ class BidTest extends TestCase
$this->bidSvc->addBid($flight, $user1);
// Try adding again, should throw an exception
$this->expectException(\App\Exceptions\BidExistsForFlight::class);
$this->expectException(BidExistsForFlight::class);
$this->bidSvc->addBid($flight, $user2);
}