diff --git a/src/test/java/genepi/imputationserver/steps/FastQualityControlTest.java b/src/test/java/genepi/imputationserver/steps/FastQualityControlTest.java
index 8e9bb827..435cd987 100644
--- a/src/test/java/genepi/imputationserver/steps/FastQualityControlTest.java
+++ b/src/test/java/genepi/imputationserver/steps/FastQualityControlTest.java
@@ -558,7 +558,7 @@ public void testQcStatisticsDontAllowAlleleSwitches() throws IOException {
assertTrue(context.hasInMemory("Excluded sites in total: 2,967"));
assertTrue(context.hasInMemory("Allele switch: 118,209"));
- assertTrue(context.hasInMemory("Error: More than 33 allele switches have been detected. Instructions to solve this issue can be found in our documentation. Imputation cannot be started!"));
+ assertTrue(context.hasInMemory("Error: More than 33 allele switches have been detected. Imputation cannot be started!"));
}
public void testQcStatisticsFilterOverlap() throws IOException {