Moved namespaces to Basket.UnitTest project
This commit is contained in:
		
							parent
							
								
									6064e2710f
								
							
						
					
					
						commit
						136c1dcbc4
					
				| @ -1,23 +1,9 @@ | ||||
| using Basket.API.IntegrationEvents.Events; | ||||
| using Basket.API.Model; | ||||
| using Microsoft.AspNetCore.Http; | ||||
| using Microsoft.AspNetCore.Mvc; | ||||
| using Microsoft.eShopOnContainers.BuildingBlocks.EventBus.Abstractions; | ||||
| using Microsoft.eShopOnContainers.Services.Basket.API.Controllers; | ||||
| using Microsoft.eShopOnContainers.Services.Basket.API.Model; | ||||
| using Microsoft.Extensions.Logging; | ||||
| using Moq; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Security.Claims; | ||||
| using System.Threading.Tasks; | ||||
| using Xunit; | ||||
| using IBasketIdentityService = Microsoft.eShopOnContainers.Services.Basket.API.Services.IIdentityService; | ||||
| namespace UnitTest.Basket.Application; | ||||
| 
 | ||||
| namespace UnitTest.Basket.Application | ||||
| using Microsoft.eShopOnContainers.Services.Basket.API.Model; | ||||
| 
 | ||||
| public class BasketWebApiTest | ||||
| { | ||||
|     public class BasketWebApiTest | ||||
|     { | ||||
|     private readonly Mock<IBasketRepository> _basketRepositoryMock; | ||||
|     private readonly Mock<IBasketIdentityService> _identityServiceMock; | ||||
|     private readonly Mock<IEventBus> _serviceBusMock; | ||||
| @ -151,5 +137,4 @@ namespace UnitTest.Basket.Application | ||||
|             } | ||||
|         }; | ||||
|     } | ||||
|     } | ||||
| } | ||||
|  | ||||
| @ -1,19 +1,7 @@ | ||||
| using Microsoft.AspNetCore.Http; | ||||
| using Microsoft.AspNetCore.Mvc; | ||||
| using Microsoft.eShopOnContainers.WebMVC.Controllers; | ||||
| using Microsoft.eShopOnContainers.WebMVC.Services; | ||||
| using Microsoft.eShopOnContainers.WebMVC.ViewModels; | ||||
| using Moq; | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Threading.Tasks; | ||||
| using Xunit; | ||||
| using BasketModel = Microsoft.eShopOnContainers.WebMVC.ViewModels.Basket; | ||||
| namespace UnitTest.Basket.Application; | ||||
| 
 | ||||
| namespace UnitTest.Basket.Application | ||||
| public class CartControllerTest | ||||
| { | ||||
|     public class CartControllerTest | ||||
|     { | ||||
|     private readonly Mock<ICatalogService> _catalogServiceMock; | ||||
|     private readonly Mock<IBasketService> _basketServiceMock; | ||||
|     private readonly Mock<IIdentityParser<ApplicationUser>> _identityParserMock; | ||||
| @ -126,5 +114,4 @@ namespace UnitTest.Basket.Application | ||||
|             Price = 20 | ||||
|         }; | ||||
|     } | ||||
|     } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user