mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 05:49:05 +00:00
147 - Upgrading Laravel and Deleting Some Code
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user