mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-31 01:46:29 +00:00
97 - Cleanup and Demo
This commit is contained in:
@@ -21,6 +21,7 @@ class PurchaseTicketsTest extends TestCase
|
||||
parent::setUp();
|
||||
$this->paymentGateway = new FakePaymentGateway;
|
||||
$this->app->instance(PaymentGateway::class, $this->paymentGateway);
|
||||
Mail::fake();
|
||||
}
|
||||
|
||||
private function orderTickets($concert, $params)
|
||||
@@ -55,7 +56,6 @@ class PurchaseTicketsTest extends TestCase
|
||||
function customer_can_purchase_tickets_to_a_published_concert()
|
||||
{
|
||||
$this->disableExceptionHandling();
|
||||
Mail::fake();
|
||||
|
||||
OrderConfirmationNumber::shouldReceive('generate')->andReturn('ORDERCONFIRMATION1234');
|
||||
TicketCode::shouldReceive('generateFor')->andReturn('TICKETCODE1', 'TICKETCODE2', 'TICKETCODE3');
|
||||
|
||||
Reference in New Issue
Block a user