Skip to content

Commit

Permalink
update sort utility to table utility
Browse files Browse the repository at this point in the history
  • Loading branch information
CMurrell148 committed Nov 28, 2024
1 parent 90b0632 commit a3400e1
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SortingUtility } from "./sortingUtility";
import { TableUtility } from "../tableUtility";

class OfstedPage {
elements = {
Expand All @@ -25,19 +25,19 @@ class OfstedPage {
}

public checkOfstedSorting(): this {
SortingUtility.checkStringSorting(
TableUtility.checkStringSorting(
this.elements.currentRatings.SchoolName,
this.elements.currentRatings.SchoolNameHeader
);
SortingUtility.checkStringSorting(
TableUtility.checkStringSorting(
this.elements.currentRatings.DateJoined,
this.elements.currentRatings.DateJoinedHeader
);
SortingUtility.checkStringSorting(
TableUtility.checkStringSorting(
this.elements.currentRatings.PreviousOfstedRating,
this.elements.currentRatings.PreviousOfstedRatingHeader
);
SortingUtility.checkStringSorting(
TableUtility.checkStringSorting(
this.elements.currentRatings.CurrentOfstedRating,
this.elements.currentRatings.CurrentOfstedRatingHeader
);
Expand Down

0 comments on commit a3400e1

Please sign in to comment.