This commit is contained in:
2018-11-12 18:48:16 +00:00
parent 719b8c4eeb
commit 8e69ae98e2
3 changed files with 6 additions and 6 deletions

View File

@@ -380,7 +380,7 @@ namespace AyaNova
// ******************** TESTING WIPE DB ***************************** // ******************** TESTING WIPE DB *****************************
// //
//Set this to true to wipe the db and reinstall a trial license and re-seed the data //Set this to true to wipe the db and reinstall a trial license and re-seed the data
var TESTING_REFRESH_DB = false;//############################################################################################# var TESTING_REFRESH_DB = true;//#############################################################################################
#if (DEBUG) #if (DEBUG)
//TESTING //TESTING
@@ -419,7 +419,7 @@ namespace AyaNova
if (TESTING_REFRESH_DB) if (TESTING_REFRESH_DB)
{ {
AyaNova.Core.License.Fetch(apiServerState, dbContext, _log); AyaNova.Core.License.Fetch(apiServerState, dbContext, _log);
Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.LargeCorporateMultiRegionalTrialDataSet);//############################################################################################# Util.Seeder.SeedDatabase(Util.Seeder.SeedLevel.SmallOneManShopTrialDataSet);//#############################################################################################
} }
//TESTING //TESTING
#endif #endif

View File

@@ -138,8 +138,8 @@ namespace raven_integration
List<string> keys = new List<string>(); List<string> keys = new List<string>();
keys.AddRange(new string[] { UpdatedLocaleKey }); keys.AddRange(new string[] { UpdatedLocaleKey });
dynamic d3 = new JObject(); dynamic d3 = new JObject();
d3.localeId = NewId; //d3.localeId = NewId;
d3.keys = JToken.FromObject(keys); d3 = JToken.FromObject(keys);
checkPUTWorked = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d3.ToString()); checkPUTWorked = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d3.ToString());
Util.ValidateDataReturnResponseOk(checkPUTWorked); Util.ValidateDataReturnResponseOk(checkPUTWorked);

View File

@@ -30,8 +30,8 @@ namespace raven_integration
List<string> keys = new List<string>(); List<string> keys = new List<string>();
keys.AddRange(new string[] { "HelpLicense", "ClientName" }); keys.AddRange(new string[] { "HelpLicense", "ClientName" });
dynamic d = new JObject(); dynamic d = new JObject();
d.localeId = 1; //d.localeId = 1;
d.keys = JToken.FromObject(keys); d = JToken.FromObject(keys);
//Fetch the values to force RAVEN to track at least these two //Fetch the values to force RAVEN to track at least these two
a = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d.ToString()); a = await Util.PostAsync("Locale/subset", await Util.GetTokenAsync("ClientLimited"), d.ToString());