Polish tests

This commit is contained in:
Moritz Halbritter
2023-08-08 09:46:15 +02:00
parent 4ea3c75331
commit 7bb337aeb1
21 changed files with 58 additions and 59 deletions

View File

@@ -52,7 +52,7 @@ class ImageArchiveManifestTests extends AbstractJsonTests {
String content = "[{\"Layers\": []}]";
ImageArchiveManifest manifest = new ImageArchiveManifest(getObjectMapper().readTree(content));
assertThat(manifest.getEntries()).hasSize(1);
assertThat(manifest.getEntries().get(0).getLayers()).hasSize(0);
assertThat(manifest.getEntries().get(0).getLayers()).isEmpty();
}
@Test