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

Fixed application crashes when there is no public schedule available

This commit is contained in:
Michael Gordeev
2021-01-09 23:34:25 +03:00
parent 922b175666
commit e3d2ffec48
5 changed files with 7 additions and 6 deletions
@@ -12,7 +12,8 @@ namespace GUTSchedule.Test
{
var list = await Parser.GetFaculties();
Assert.IsNotNull(list);
Assert.IsTrue(list.Count > 0);
if (list.Count < 1)
Assert.Warn("No faculties available");
Console.WriteLine("Faculties list:");
list.ForEach(i =>