Skip to content

Commit cc0d5e7

Browse files
committed
fix(fixtures): rotate negative feedback reasons in app reviews
- Update app reviews fixture to use a different negative feedback reason for each review - Enhances test data variability and realism
1 parent 0608c51 commit cc0d5e7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/src/fixtures/app_reviews.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ List<AppReview> getAppReviewsFixturesData({
5656
createdAt: createdAt,
5757
updatedAt: createdAt,
5858
negativeFeedbackHistory: [
59-
NegativeFeedback(providedAt: createdAt, reason: reasons[0]),
59+
NegativeFeedback(
60+
providedAt: createdAt,
61+
reason: reasons[i % reasons.length],
62+
),
6063
],
6164
),
6265
);

0 commit comments

Comments
 (0)