This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -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\\"
|
||||
|
||||
@@ -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!! ◈◈");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user