Esempio n. 1
0
        static void Main(string[] args)
        {
            PublicLogicManager.DataContextFactory = CoreIntegration.GetDataContext;

              TestDataContext db = new TestDataContext();
              db.TestInitDB();

              TestHelperClientLogic<PublicLogicManager> testHelper = new TestHelperClientLogic<PublicLogicManager>();
              testHelper.CreateDefaultClientData(CoreConstants.SUBSCRIPTION_LEVEL_SYSTEM);
        }
Esempio n. 2
0
        public void InitializeTest()
        {
            AuthenticationDbContext.SetDefaultConnectionStringName("AuthDB");
              CoreIntegration.Configure();
              PublicConfigurationSettings.Configure(CoreIntegration.GetAuthManager,
            CoreIntegration.GetApiProcessor, "MNoreke", "", "", "", "", null);

              BaseCallController.MvcValidationIssue = false;
              TestHelper = new TestHelperClientLogic<LogicManager>();

              TestDataContext dataModel = new TestDataContext(null);
              dataModel.TestInitDB();

              TestHelper.CreateDefaultClientData(AppConstants.SUBSCRIPTION_LEVEL_BASIC);
        }