This commit is contained in:
2021-04-15 18:00:31 +00:00
parent 8e3007fdf5
commit 863323b699
3 changed files with 6 additions and 8 deletions

2
.vscode/launch.json vendored
View File

@@ -53,7 +53,7 @@
"AYANOVA_FOLDER_USER_FILES": "c:\\temp\\RavenTestData\\userfiles",
"AYANOVA_FOLDER_BACKUP_FILES": "c:\\temp\\RavenTestData\\backupfiles",
"AYANOVA_FOLDER_TEMPORARY_SERVER_FILES": "c:\\temp\\RavenTestData\\tempfiles",
"AYANOVA_SERVER_TEST_MODE": "true",
"AYANOVA_SERVER_TEST_MODE": "false",
"AYANOVA_SERVER_TEST_MODE_SEEDLEVEL": "small",
"AYANOVA_SERVER_TEST_MODE_TZ_OFFSET": "-7",
"AYANOVA_BACKUP_PG_DUMP_PATH": "C:\\data\\code\\postgres_13\\bin\\"

View File

@@ -1132,8 +1132,8 @@ namespace AyaNova.Biz
//TEST TEST TEST
if (proposedObj.Notes.Contains("₿"))
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "notes", "HODL!");
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Notes", "HODL!");
}
//Check state if updatable right now
@@ -2923,10 +2923,8 @@ namespace AyaNova.Biz
//TEST TEST TEST
if (proposedObj.EstimatedQuantity == 69)
{
//`Items[${activeWoItemIndex}].scheduledUsers[${activeItemIndex}].estimatedQuantity`
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Items[{0}].ScheduledUsers[0].EstimatedQuantity", "◈◈ TEST HODL!! ◈◈");
{
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"EstimatedQuantity", "◈◈ TEST HODL!! ◈◈");
}

View File

@@ -2228,7 +2228,7 @@ namespace AyaNova.Util
o.InternalReferenceNumber = "irf-" + Fake.Finance.Account(4);
o.ServiceDate = woDate.ToUniversalTime();
int woItemCount = Fake.Random.Int(1, 3);
int woItemCount = Fake.Random.Int(1, 6);
for (int y = 0; y < woItemCount; y++)
{
var woItem = new WorkOrderItem()