Skip to content

Commit

Permalink
Merge pull request #102 from LtiLibrary/bug/98_gradingProgress-typo
Browse files Browse the repository at this point in the history
Fix typo in GradingProgress identifier. Fixes #98
  • Loading branch information
srijken authored Aug 13, 2024
2 parents c29fa4e + 14b9f4c commit 704809e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace LtiAdvantage.AssignmentGradeServices
/// The grading progress.
/// </summary>
[JsonConverter(typeof(JsonStringEnumConverter))]
public enum GradingProgess
public enum GradingProgress
{
/// <summary>
/// Unknown grading progress.
Expand Down
2 changes: 1 addition & 1 deletion src/LtiAdvantage/AssignmentGradeServices/Score.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Score
/// The status of the grading process.
/// </summary>
[JsonPropertyName("gradingProgress")]
public GradingProgess GradingProgress { get; set; }
public GradingProgress GradingProgress { get; set; }

/// <summary>
/// The score.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public void DeserializeFromValidJson()
Assert.Equal(100, score.ScoreMaximum);
Assert.Equal("This is exceptional work.", score.Comment);
Assert.Equal(ActivityProgress.Completed, score.ActivityProgress);
Assert.Equal(GradingProgess.FullyGraded, score.GradingProgress);
Assert.Equal(GradingProgress.FullyGraded, score.GradingProgress);
Assert.Equal("5323497", score.UserId);
}

Expand Down

0 comments on commit 704809e

Please sign in to comment.