diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-31 12:23:23 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-03-31 12:23:23 +0200 |
commit | eee6027f6146f4a529a6f3cd14637592a70cf3f2 (patch) | |
tree | a9268174cf5d8caba92c88f1912618d2e12be45f /server/sonar-server | |
parent | 5482aa0fb73622ca321461de339015e0c6a43c18 (diff) | |
download | sonarqube-eee6027f6146f4a529a6f3cd14637592a70cf3f2.tar.gz sonarqube-eee6027f6146f4a529a6f3cd14637592a70cf3f2.zip |
Fix default mime type of ProfileExporter
"plain/text" is not a valid type. It must be "text/plain"
Diffstat (limited to 'server/sonar-server')
-rw-r--r-- | server/sonar-server/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java b/server/sonar-server/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java index 37639fcb1dc..b958e49f1df 100644 --- a/server/sonar-server/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java +++ b/server/sonar-server/src/test/java/org/sonar/server/qualityprofile/QProfileExportersTest.java @@ -98,7 +98,7 @@ public class QProfileExportersTest { assertThat(exporters.mimeType("xootool")).isEqualTo("plain/custom"); // default mime type - assertThat(exporters.mimeType("standard")).isEqualTo("plain/text"); + assertThat(exporters.mimeType("standard")).isEqualTo("text/plain"); } @Test |