This commit is contained in:
2021-04-16 22:39:00 +00:00
parent 92067c1be2
commit a13e9e0a40

View File

@@ -1131,12 +1131,17 @@ namespace AyaNova.Biz
// //TEST TEST TEST // //TEST TEST TEST
if(proposedObj.Notes.Contains("blah")){ if (proposedObj.Notes.Contains("blah"))
{
; ;
} }
if (proposedObj.Notes != null && proposedObj.Notes.Contains("generalerror"))
{
AddError(ApiErrorCode.API_SERVER_ERROR, "generalerror", "Test general error");
}
if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror")) if (proposedObj.Notes != null && proposedObj.Notes.Contains("aytesterror"))
{ {
AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, $"Notes", "SAVE TEST ERROR"); AddError(ApiErrorCode.VALIDATION_INVALID_VALUE, "Notes", "SAVE TEST ERROR");
} }
//Check state if updatable right now //Check state if updatable right now