public void BackgroundDataLoadTest()
        {
            RallyBackgroundData.SetDbContext(_context);
            var globalSetting = RallyBackgroundData.Instance.RallyGlobalConfiguration;
            var mappings      = RallyBackgroundData.Instance.RallySlackMappings;

            Assert.IsNotNull(globalSetting);
            Assert.IsTrue(mappings.Count > 1);
        }
Esempio n. 2
0
 public RallyController()
 {
     RallyCatDbContext.SetConnectionString("RallyCatConnection");
     _dbContext = RallyCatDbContext.QueryDb();
     RallyBackgroundData.SetDbContext(_dbContext);
     _rallyService   = new RallyService();
     _graphicService = new GraphicService();
     _azureService   = new AzureService(RallyBackgroundData.Instance);
 }