Skip to content

Commit

Permalink
fix(new-comment-validation-test): fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTexanCodeur committed May 29, 2024
1 parent d44bf04 commit 52dc9ff
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/models/ui/validation/new_comment_validation_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ void main() {
group("New Comment Model Testing", () {
test("hash overrides correctly", () {
// Define the expected result
final newCommentState = NewCommentValidation(
const newCommentState = NewCommentValidation(
contentError: "contentError",
posted: true,
);
Expand All @@ -22,12 +22,12 @@ void main() {

test("equality overrides correctly", () {
// Define the expected result
final newCommentState = NewCommentValidation(
const newCommentState = NewCommentValidation(
contentError: "commentError",
posted: true,
);

final newCommentStateCopy = NewCommentValidation(
const newCommentStateCopy = NewCommentValidation(
contentError: "commentError",
posted: true,
);
Expand All @@ -37,12 +37,12 @@ void main() {

test("equality fails on different contentError", () {
// Define the expected result
final newCommentState = NewCommentValidation(
const newCommentState = NewCommentValidation(
contentError: "commentError",
posted: true,
);

final newCommentStateCopy = NewCommentValidation(
const newCommentStateCopy = NewCommentValidation(
contentError: "commentError2",
posted: true,
);
Expand All @@ -52,12 +52,12 @@ void main() {

test("equality fails on different posted", () {
// Define the expected result
final newCommentState = NewCommentValidation(
const newCommentState = NewCommentValidation(
contentError: "commentError",
posted: true,
);

final newCommentStateCopy = NewCommentValidation(
const newCommentStateCopy = NewCommentValidation(
contentError: "commentError",
posted: false,
);
Expand Down

0 comments on commit 52dc9ff

Please sign in to comment.