Auto stash before merge of "main" and "origin/main"
This commit is contained in:
parent
104187fcac
commit
33912cf4ef
9 changed files with 226 additions and 50 deletions
|
|
@ -10,7 +10,7 @@ namespace PlanTempus.Tests
|
|||
[TestClass]
|
||||
public class PostgresTests : TestFixture
|
||||
{
|
||||
IDbConnectionFactory _connFactory;
|
||||
IDbConnectionFactory _connFactory;
|
||||
IDatabaseOperations _databaseOperations;
|
||||
|
||||
[TestInitialize]
|
||||
|
|
@ -60,7 +60,6 @@ namespace PlanTempus.Tests
|
|||
catch (Exception ex)
|
||||
{
|
||||
db.Error(ex);
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[TestMethod]
|
||||
|
|
@ -68,11 +67,11 @@ namespace PlanTempus.Tests
|
|||
{
|
||||
try
|
||||
{
|
||||
await _databaseOperations.ExecuteAsync(async connection =>
|
||||
{
|
||||
return await connection.QuerySqlAsync<string>(
|
||||
"SELECT tablename FROM pg_tables limit 5");
|
||||
}, nameof(TestSimpleDatabaseOperation));
|
||||
await _databaseOperations.ExecuteAsync(async connection =>
|
||||
{
|
||||
return await connection.QuerySqlAsync<string>(
|
||||
"SELECT tablename FROM pg_tables limit 5");
|
||||
}, nameof(TestSimpleDatabaseOperation));
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
|
@ -80,15 +79,6 @@ namespace PlanTempus.Tests
|
|||
throw;
|
||||
}
|
||||
}
|
||||
[TestMethod]
|
||||
public async Task TryDbSetup()
|
||||
{
|
||||
//var conn = Container.Resolve<IDbConnection>();
|
||||
|
||||
//var identitySystem = new Database.Core.SetupIdentitySystem(conn);
|
||||
//identitySystem.CreateSystem("swp");
|
||||
}
|
||||
|
||||
[TestMethod]
|
||||
public void SetupPostgresql_LISTEN()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue