我正在使用 JHipster 7.6.0 (Spring boot React),當我運行集成測驗時出現以下錯誤。我在互聯網上搜索但我沒有找到任何東西提前謝謝!
[ERROR] MailServiceIT.testSendEmailFromTemplate:143
expected: "test title"
but was: "Activation de votre compte gestionUtilisateurs"
[INFO]
[ERROR] Tests run: 225, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO]
[INFO] --- jacoco-maven-plugin:0.8.7:report-integration (post-integration-tests) @ gestion-utilisateurs ---
[INFO] Loading execution data file C:\Users\ASUS\.jenkins\workspace\apisation portnet\target\jacoco-it.exec
[INFO] Analyzed bundle 'Gestion Utilisateurs' with 83 classes
[INFO]
[INFO] --- maven-checkstyle-plugin:3.1.2:check (default) @ gestion-utilisateurs ---
[INFO] You have 0 Checkstyle violations.
[INFO]
[INFO] --- maven-failsafe-plugin:3.0.0-M5:verify (verify) @ gestion-utilisateurs ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:20 min
[INFO] Finished at: 2022-02-21T14:36:42 01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-failsafe-plugin:3.0.0-M5:verify (verify) on project gestion-utilisateurs: There are test failures.
[ERROR]
uj5u.com熱心網友回復:
如果您選擇法語作為應用程式的母語,則會發生此故障。我在 JHipster GitHub 存盤庫上報告了這一點。我還提到了如何解決它,以便集成測驗不會失敗。這是失敗的詳細資訊:
https://github.com/jhipster/generator-jhipster/issues/17946
您可以在上面鏈接的“建議修復 ”部分找到我的解決方案
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/434586.html
上一篇:Gitlab使用webhook觸發每日jenkins作業
下一篇:BashShell腳本問題
