示例#1
0
        public static async Task EmptyAndFillDatabases()
        {
            DatabaseLoginTestFiller dbFiller = new DatabaseLoginTestFiller();
            await dbFiller.ClearDatabaseTestRecords();

            await dbFiller.FillDatabaseTablesWithDummyData();
        }
示例#2
0
        public async Task Setup()
        {
            await DatabaseLoginTestFiller.EmptyAndFillDatabases();

            string connectionString = DatabaseConnectionString.GetAzureConnectionString("logintest");

            LoginService.dataAccess = new DataAccessImplMySql(connectionString);
        }