Skip to content

Commit

Permalink
[FIX] Refresh token and chart bugs (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyalehchylin committed Jun 6, 2024
2 parents a582c86 + 278afb6 commit 6c1aa3f
Show file tree
Hide file tree
Showing 9 changed files with 410 additions and 407 deletions.
4 changes: 2 additions & 2 deletions source/EduCATS.UnitTests/Registration/RegistrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class RegistrationTests
{
[TestCase("TestLecturer5", "TestLecturer5")]
[Test]
public void RefreshToken_Test(string username, string password)
public async Task RefreshToken_Test(string username, string password)
{
try
{
Expand All @@ -34,7 +34,7 @@ public void RefreshToken_Test(string username, string password)
var mockedLoginPageView = new Mock<LoginPageViewModel>(mockedServices).Object;
mockedLoginPageView.Username = username;
mockedLoginPageView.Password = password;
var actual = mockedLoginPageView.RefreshToken();
var actual = await mockedLoginPageView.RefreshToken();
Assert.IsNotEmpty(actual);
}
catch (Exception ex)
Expand Down
Loading

0 comments on commit 6c1aa3f

Please sign in to comment.