update directory name and access visibility
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
using console_spo_utils.Interfaces.Repositories;
|
||||
using Microsoft.SharePoint.Client;
|
||||
using static System.Net.WebRequestMethods;
|
||||
|
||||
namespace console_spo_utils.Fakes.Repositories;
|
||||
|
||||
public class FakeNonComplianceSettingsRepository : INonComplianceRepository
|
||||
{
|
||||
public string DefaultNonComplianceSource()
|
||||
{
|
||||
return "Interno";
|
||||
}
|
||||
|
||||
public string DefaultNonComplianceReference()
|
||||
{
|
||||
return "Italsort";
|
||||
}
|
||||
|
||||
public string DefaultNonComplianceNominative()
|
||||
{
|
||||
return "Mario Issor";
|
||||
}
|
||||
|
||||
public string DefaultNonComplianceDateOfDetection()
|
||||
{
|
||||
return "28-09-2022";
|
||||
}
|
||||
|
||||
public string DefaultNonComplianceProject()
|
||||
{
|
||||
return "CT0001-001";
|
||||
}
|
||||
|
||||
public string DefaultNonComplianceItemCode()
|
||||
{
|
||||
return "M24x3";
|
||||
}
|
||||
|
||||
public FieldUrlValue DefaultNonCompliancePortalUrl()
|
||||
{
|
||||
return new FieldUrlValue
|
||||
{
|
||||
Description = "Vai a Portal",
|
||||
Url = "https://portal.pal.local/"
|
||||
};
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using console_spo_utils.Interfaces.Repositories;
|
||||
|
||||
namespace console_spo_utils.Fakes.Repositories;
|
||||
|
||||
public class FakeProjectSettingsRepository:IProjectSettingsRepository
|
||||
{
|
||||
public string DefaultDlvReason(string projName)
|
||||
{
|
||||
return "02 VENDITA RICAMBI";
|
||||
}
|
||||
|
||||
public string DefaultCostumer(string projName)
|
||||
{
|
||||
return "PAL";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using console_spo_utils.Interfaces.Repositories;
|
||||
namespace console_spo_utils.Fakes.Repositories;
|
||||
|
||||
public class FakeQuotationSettingRepository:IQuotationRepository
|
||||
{
|
||||
public string DefaultIdQuotation(string quotationName)
|
||||
{
|
||||
return quotationName;
|
||||
}
|
||||
|
||||
public string DefaultQuotationName(string quotationName)
|
||||
{
|
||||
return "Marchiol";
|
||||
}
|
||||
|
||||
public string DefaultQuotationReason(string quotationName)
|
||||
{
|
||||
return "02 VENDITA RICAMBI";
|
||||
}
|
||||
|
||||
public string DefaultAuthors(string quotationName)
|
||||
{
|
||||
return "User";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
using console_spo_utils.Interfaces.Repositories;
|
||||
|
||||
namespace console_spo_utils.Fakes.Repositories;
|
||||
|
||||
public class FakeSubProjectRepository:ISubProjectRepository
|
||||
{
|
||||
public List<string> GetFromProject(string projName)
|
||||
{
|
||||
return new List<string>()
|
||||
{
|
||||
$"{projName}-001",
|
||||
$"{projName}-002",
|
||||
$"{projName}-003",
|
||||
$"{projName}-004",
|
||||
};
|
||||
}
|
||||
|
||||
public string DefaultDescription(string projName)
|
||||
{
|
||||
return "AutomationTest c.s.";
|
||||
}
|
||||
|
||||
public string DefaultItem(string projName)
|
||||
{
|
||||
return "Coclea";
|
||||
}
|
||||
|
||||
public string DefaultItemCode(string projName)
|
||||
{
|
||||
return "C84M70";
|
||||
}
|
||||
|
||||
public string DefaultItemDescription(string projName)
|
||||
{
|
||||
return "7m con le piastrelle";
|
||||
}
|
||||
|
||||
public string DefaultSerialNumber(string projName)
|
||||
{
|
||||
return "S/N 000000988948e";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user