commit | 9204772678899cbcb000253fe9ab6062e7474f52 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Mar 02 16:02:52 2021 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Mar 02 16:13:41 2021 +0100 |
tree | 5da7d085635ff5ba27c4564c796c631cdc07161f | |
parent | 9f59fa56ac316e8ec25a312b8b27f2448fe39833 [diff] |
Do not hardcode groupId in VirtualCorpusServiceTest.testEditPublishVC This seems to break the test on some systems, see: https://github.com/KorAP/Kustvakt/runs/1988876680#step:10:2607 Change-Id: Iee1fef5d0ff39b1f43e884dbe5b9724c06829e24
diff --git a/full/src/test/java/de/ids_mannheim/korap/service/VirtualCorpusServiceTest.java b/full/src/test/java/de/ids_mannheim/korap/service/VirtualCorpusServiceTest.java index 1185bae..deb03dc 100644 --- a/full/src/test/java/de/ids_mannheim/korap/service/VirtualCorpusServiceTest.java +++ b/full/src/test/java/de/ids_mannheim/korap/service/VirtualCorpusServiceTest.java
@@ -141,8 +141,8 @@ KustvaktException e = assertThrows(KustvaktException.class, () -> groupService.retrieveUserGroupById(groupId)); - - assertEquals("Group with id 5 is not found", e.getMessage()); + + assertEquals("Group with id " + groupId + " is not found", e.getMessage()); } }