This repository was archived by the owner on Jan 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Pull Request: Workflow Updates, Code Refactoring, and Test Enhancements #1010
Open
SilentSobs
wants to merge
10
commits into
dotnet-architecture:main
Choose a base branch
from
SilentSobs:workflow-update
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3e7df0c
workflow update
SilentSobs ad1090b
updates warning
SilentSobs 458e4c4
Update EmptyBasketOnCheckoutException.cs
SilentSobs 6bde518
Update EmptyBasketOnCheckoutException.cs
SilentSobs b247b26
Update EmptyBasketOnCheckoutException.cs
SilentSobs 67d1cc2
Update dotnetcore.yml
SilentSobs 831efb9
Update richnav.yml
SilentSobs 30a611d
v1
SilentSobs 361fdbc
Update CustomerOrdersWithItemsSpecification.cs
SilentSobs a85f247
final-update
SilentSobs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 12 additions & 16 deletions
28
src/ApplicationCore/Exceptions/EmptyBasketOnCheckoutException.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,19 @@ | ||
using System; | ||
|
||
namespace Microsoft.eShopWeb.ApplicationCore.Exceptions; | ||
|
||
public class EmptyBasketOnCheckoutException : Exception | ||
namespace Microsoft.eShopWeb.ApplicationCore.Exceptions | ||
{ | ||
public EmptyBasketOnCheckoutException() | ||
: base($"Basket cannot have 0 items on checkout") | ||
public class EmptyBasketOnCheckoutException : Exception | ||
{ | ||
} | ||
public EmptyBasketOnCheckoutException() | ||
: base($"Basket cannot have 0 items on checkout") | ||
{ | ||
} | ||
|
||
protected EmptyBasketOnCheckoutException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) | ||
{ | ||
} | ||
public EmptyBasketOnCheckoutException(string message) : base(message) | ||
{ | ||
} | ||
|
||
public EmptyBasketOnCheckoutException(string message) : base(message) | ||
{ | ||
} | ||
|
||
public EmptyBasketOnCheckoutException(string message, Exception innerException) : base(message, innerException) | ||
{ | ||
public EmptyBasketOnCheckoutException(string message, Exception innerException) : base(message, innerException) | ||
{ | ||
} | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SilentSobs This test is checking count in the result not the no. of results
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok .