Fixed failed tests
This commit is contained in:
@ -170,7 +170,7 @@ public class MET08DDUPSP1TBI : EAFLoggingUnitTesting
|
|||||||
[TestMethod]
|
[TestMethod]
|
||||||
public void Staging__v2_49_0__MET08DDUPSP1TBI__Dummy()
|
public void Staging__v2_49_0__MET08DDUPSP1TBI__Dummy()
|
||||||
{
|
{
|
||||||
string check = "637400762024374000.zip";
|
string check = "637400748000000000.zip";
|
||||||
MethodBase methodBase = new StackFrame().GetMethod();
|
MethodBase methodBase = new StackFrame().GetMethod();
|
||||||
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
EAFLoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||||
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
_ = AdaptationTesting.GetWriteConfigurationGetFileRead(methodBase, check, EAFLoggingUnitTesting.AdaptationTesting);
|
||||||
|
@ -86,9 +86,9 @@ public class Job : LoggingUnitTesting, IDisposable
|
|||||||
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Getting configuration"));
|
||||||
string lsl2SQLConnectionString = "Data Source=10.95.128.28\\PROD1,53959;Initial Catalog=LSL2SQL;Persist Security Info=True;User ID=srpadmin;Password=0okm9ijn;";
|
string lsl2SQLConnectionString = "Data Source=10.95.128.28\\PROD1,53959;Initial Catalog=LSL2SQL;Persist Security Info=True;User ID=srpadmin;Password=0okm9ijn;";
|
||||||
job = new(lsl2SQLConnectionString, metrologyFileShare, "{\"Area\": \"Si\", \"EquipmentType\": \"MET08RESIMAPCDE\", \"MesEntity\": \"CDE4\", \"Sequence\": \"123456789\", \"MID\": \"P1234\", \"Recipe\": \"Recipe\"}");
|
job = new(lsl2SQLConnectionString, metrologyFileShare, "{\"Area\": \"Si\", \"EquipmentType\": \"MET08RESIMAPCDE\", \"MesEntity\": \"CDE4\", \"Sequence\": \"123456789\", \"MID\": \"P1234\", \"Recipe\": \"Recipe\"}");
|
||||||
Assert.IsTrue(!string.IsNullOrEmpty(job.ProcessType)); // == "21");
|
Assert.IsTrue(!string.IsNullOrEmpty(job.ProcessType));
|
||||||
Assert.IsTrue(job.LotName == "123456");
|
Assert.IsTrue(!string.IsNullOrEmpty(job.LotName));
|
||||||
Assert.IsTrue(!string.IsNullOrEmpty(job.ProductName)); // == "4609");
|
Assert.IsTrue(!string.IsNullOrEmpty(job.ProductName));
|
||||||
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
LoggingUnitTesting.Logger.LogInformation(string.Concat(methodBase.Name, " - Exit"));
|
||||||
NonThrowTryCatch();
|
NonThrowTryCatch();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user