You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							40 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							40 lines
						
					
					
						
							1.2 KiB
						
					
					
				
								using Shentun.Peis.PlugIns.Extensions.LisRequests.Hzcy;
							 | 
						|
								using Shentun.Peis.PlugIns.LisRequests;
							 | 
						|
								using Shentun.Utilities;
							 | 
						|
								using System;
							 | 
						|
								using System.Collections.Generic;
							 | 
						|
								using System.Linq;
							 | 
						|
								using System.Text;
							 | 
						|
								using System.Threading.Tasks;
							 | 
						|
								using Xunit.Abstractions;
							 | 
						|
								
							 | 
						|
								namespace Shentun.Peis.PlugIns.Extensions.Test
							 | 
						|
								{
							 | 
						|
								    public class LisRequestPlugInsHzcyTest
							 | 
						|
								    {
							 | 
						|
								        private readonly ITestOutputHelper _output;
							 | 
						|
								        public LisRequestPlugInsHzcyTest(ITestOutputHelper testOutputHelper)
							 | 
						|
								        {
							 | 
						|
								            _output = testOutputHelper;
							 | 
						|
								
							 | 
						|
								        }
							 | 
						|
								        [Fact]
							 | 
						|
								        public async Task SendRequest()
							 | 
						|
								        {
							 | 
						|
								            var lisRequestPlugInsGem = new LisRequestPlugInsHzcy(GetConfigParm());
							 | 
						|
								            await lisRequestPlugInsGem.SendRequestAsync(new LisRequestPlugInsInput()
							 | 
						|
								            {
							 | 
						|
								                LisRequestId = new Guid("3a123266-4581-83c4-9099-1f24cd0f3a49")
							 | 
						|
								            });
							 | 
						|
								           
							 | 
						|
								        }
							 | 
						|
								        private string GetConfigParm()
							 | 
						|
								        {
							 | 
						|
								            string configParm;
							 | 
						|
								            string filePath = DirectoryHelper.GetAppDirectory() + "/appsettings.json";
							 | 
						|
								            configParm = File.ReadAllText(filePath);
							 | 
						|
								            return configParm;
							 | 
						|
								
							 | 
						|
								        }
							 | 
						|
								    }
							 | 
						|
								}
							 |