public new void SetUp() { testServer = new RainyTestServer(); testServer.ScenarioPostgres(); testServer.Start(); syncServer = new WebSyncServer(testServer.BaseUri, testServer.GetAccessToken()); }
public new void SetUp() { testServer = new RainyTestServer (); testServer.ScenarioPostgres (); testServer.Start (); syncServer = new WebSyncServer (testServer.BaseUri, testServer.GetAccessToken ()); }
public new void SetUp() { testServer = new RainyTestServer (); if (dbScenario == "postgres") { testServer.ScenarioPostgres (); } else if (dbScenario == "sqlite" || string.IsNullOrEmpty (dbScenario)) { testServer.ScenarioSqlite (); } testServer.Start (); this.connFactory = RainyTestServer.Container.Resolve<IDbConnectionFactory> (); using (var db = connFactory.OpenDbConnection ()) { testUser = db.First<DBUser> (u => u.Username == RainyTestServer.TEST_USER); } }
public new void SetUp() { testServer = new RainyTestServer(); if (dbScenario == "postgres") { testServer.ScenarioPostgres(); } else if (dbScenario == "sqlite" || string.IsNullOrEmpty(dbScenario)) { testServer.ScenarioSqlite(); } testServer.Start(); this.connFactory = RainyTestServer.Container.Resolve <IDbConnectionFactory> (); using (var db = connFactory.OpenDbConnection()) { testUser = db.First <DBUser> (u => u.Username == RainyTestServer.TEST_USER); } }