mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 06:49:07 +00:00
2.5 - Adding Tickets to Orders
This commit is contained in:
@@ -38,6 +38,6 @@ class PurchaseTicketsTest extends TestCase
|
||||
// Make sure that an order exists for this customer
|
||||
$order = $concert->orders()->where('email', 'john@example.com')->first();
|
||||
$this->assertNotNull($order);
|
||||
$this->assertEquals(3, $order->tickets->count());
|
||||
$this->assertEquals(3, $order->tickets()->count());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user