147 - Upgrading Laravel and Deleting Some Code

This commit is contained in:
Adam Wathan
2017-12-08 12:29:13 -05:00
parent c4d4b2995b
commit 6f4da445d2
10 changed files with 372 additions and 307 deletions

View File

@@ -55,7 +55,7 @@ class PurchaseTicketsTest extends TestCase
/** @test */
function customer_can_purchase_tickets_to_a_published_concert()
{
$this->disableExceptionHandling();
$this->withoutExceptionHandling();
OrderConfirmationNumber::shouldReceive('generate')->andReturn('ORDERCONFIRMATION1234');
TicketCode::shouldReceive('generateFor')->andReturn('TICKETCODE1', 'TICKETCODE2', 'TICKETCODE3');
@@ -145,7 +145,7 @@ class PurchaseTicketsTest extends TestCase
/** @test */
function cannot_purchase_tickets_another_customer_is_already_trying_to_purchase()
{
$this->disableExceptionHandling();
$this->withoutExceptionHandling();
$concert = \ConcertFactory::createPublished(['ticket_price' => 1200, 'ticket_quantity' => 3]);