Skip to content

Commit

Permalink
Update testHandleDoesNotUpdateProductQuantitiesForPaidOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
daveearley committed Nov 1, 2024
1 parent 05df93e commit 204f118
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public function testHandleDoesNotUpdateProductQuantitiesForPaidOrder(): void
$this->productPriceRepository->shouldReceive('findWhereIn')->andReturn(new Collection([$this->createMockProductPrice()]));

$this->attendeeRepository->shouldReceive('insert')->andReturn(true);
$this->attendeeRepository->shouldReceive('findWhere')->andReturn(new Collection([$this->createMockAttendee()]));
$this->attendeeRepository->shouldReceive('findWhereIn')->andReturn(new Collection([$this->createMockAttendee()]));

$this->productQuantityUpdateService->shouldNotReceive('updateQuantitiesFromOrder');

Expand Down

0 comments on commit 204f118

Please sign in to comment.