示例#1
0
        public async Task GetAllPersonalTestResults()
        {
            using (SelfAssessmentDbContext context = new SelfAssessmentDbContext())
            {
                Account           account     = context.Accounts.Where(a => a.User.Username == "test2").FirstOrDefault();
                List <TestResult> testResults = await testResultService.GetPersonalTestResults(account, "TestTestSeries");

                Assert.AreEqual(1, testResults.Count);
            }
        }