1
0
mirror of https://github.com/XFox111/GUTSchedule.git synced 2026-04-22 06:58:01 +03:00

- Updated first week of the first semester start date

- Disabled the ability to sign in with an account
This commit is contained in:
Eugene Fox
2023-02-06 01:37:46 +03:00
parent 2723157d5a
commit 423646eed5
9 changed files with 28 additions and 18 deletions
@@ -1,4 +1,5 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using GUTSchedule.Models;
using NUnit.Framework;
@@ -68,8 +69,8 @@ namespace GUTSchedule.Test
var list = await Parser.GetSchedule(new DefaultExportParameters
{
Course = "0",
FacultyId = faculty.id,
GroupId = group.id,
FacultyId = "50005",
GroupId = "54222",
EndDate = DateTime.Today.AddDays(7),
StartDate = DateTime.Today
});
@@ -78,7 +79,7 @@ namespace GUTSchedule.Test
Assert.IsTrue(list.Count > 0);
Console.WriteLine("Events list:");
foreach (var i in list)
foreach (var i in list.OrderBy(i => i.StartTime))
{
Console.WriteLine("--------------------------------------------------");
Console.WriteLine($"[{i.Group}] {i.Order}. {i.Name} ({i.Type})");