Skip to content

Commit

Permalink
Fixed ShoppingCart unit tests wrongly bumping version
Browse files Browse the repository at this point in the history
  • Loading branch information
oskardudycz committed May 16, 2024
1 parent 2526981 commit 3b5be3c
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ private void Apply(ShoppingCartOpened @event)
var @event = ProductAdded.Create(Id, pricedProductItem);

Enqueue(@event);
Apply(@event);
}

private void Apply(ProductAdded @event)
Expand Down Expand Up @@ -127,7 +126,6 @@ private void Apply(ProductAdded @event)
var @event = ProductRemoved.Create(Id, productItemToBeRemoved);

Enqueue(@event);
Apply(@event);
}

private void Apply(ProductRemoved @event)
Expand Down Expand Up @@ -161,7 +159,6 @@ public void Confirm()
var @event = ShoppingCartConfirmed.Create(Id, DateTime.UtcNow);

Enqueue(@event);
Apply(@event);
}

private void Apply(ShoppingCartConfirmed @event)
Expand All @@ -179,7 +176,6 @@ public void Cancel()
var @event = ShoppingCartCanceled.Create(Id, DateTime.UtcNow);

Enqueue(@event);
Apply(@event);
}

private void Apply(ShoppingCartCanceled @event)
Expand Down

0 comments on commit 3b5be3c

Please sign in to comment.