-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1873 from betagouv/master
MEP demo data : add some consumer reviews
- Loading branch information
Showing
5 changed files
with
59 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package models.report.sampledata | ||
|
||
import models.report.review.ConsumerReviewApi | ||
import models.report.review.ResponseEvaluation.Negative | ||
import models.report.review.ResponseEvaluation.Neutral | ||
|
||
object ReviewGenerator { | ||
|
||
def randomConsumerReview() = | ||
ConsumerReviewApi( | ||
evaluation = Negative, | ||
details = Some( | ||
"Je ne veux pas d’un avoir. Je veux la livraison du produit qui a été proposé en promotion et qui est toujours disponible en stock . Cordialement " | ||
) | ||
) | ||
|
||
def randomEngagementReview() = | ||
ConsumerReviewApi( | ||
evaluation = Neutral, | ||
details = Some( | ||
"Je n’ai jamais été recontacté par un superviseur" | ||
) | ||
) | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters