Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1906178

Browse files
Get_Product_List refactored
1 parent 0282954 commit 1906178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/AspnetRun.Application.Tests/Services/ProductTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public async Task Get_Product_List()
3232
var product1 = Product.Create(It.IsAny<int>(), category.Id, It.IsAny<string>());
3333
var product2 = Product.Create(It.IsAny<int>(), category.Id, It.IsAny<string>());
3434

35-
category.AddProduct(product1.Id, It.IsAny<string>());
36-
category.AddProduct(product2.Id, It.IsAny<string>());
35+
//category.AddProduct(product1.Id, It.IsAny<string>());
36+
//category.AddProduct(product2.Id, It.IsAny<string>());
3737

3838
_mockCategoryRepository.Setup(x => x.GetByIdAsync(It.IsAny<int>())).ReturnsAsync(category);
3939
_mockProductRepository.Setup(x => x.GetByIdAsync(It.IsAny<int>())).ReturnsAsync(product1);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /