fix integration test

This commit is contained in:
Konstantin Schaper
2020-11-27 13:08:42 +01:00
parent 6652a039dd
commit 11ebba349c

View File

@@ -175,12 +175,12 @@ public class RepositoryAccessITCase {
.as("assert tag size")
.isNotNull()
.size()
.isGreaterThan(0);
.isPositive();
assertThat(response.body().jsonPath().getMap("_embedded.tags.find{it.name=='" + tagName + "'}"))
.as("assert tag has attributes for name, revision, date and links")
.isNotNull()
.hasSize(4)
.hasSize(5)
.containsEntry("name", tagName)
.containsEntry("revision", changeset.getId());