Fix some assertions
See gh-25499
This commit is contained in:
committed by
Stephane Nicoll
parent
ae630e03ce
commit
89a44f3da4
@@ -64,7 +64,7 @@ abstract class AbstractArchiveIntegrationTests {
|
||||
|
||||
private JarAssert(File actual) {
|
||||
super(actual, JarAssert.class);
|
||||
assertThat(actual.exists());
|
||||
assertThat(actual).exists();
|
||||
}
|
||||
|
||||
JarAssert doesNotHaveEntryWithName(String name) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -55,7 +55,7 @@ public class BuildImageRegistryIntegrationTests extends AbstractArchiveIntegrati
|
||||
|
||||
@BeforeEach
|
||||
void setUp() {
|
||||
assertThat(registry.isRunning());
|
||||
assertThat(registry.isRunning()).isTrue();
|
||||
this.dockerClient = registry.getDockerClient();
|
||||
this.registryAddress = registry.getHost() + ":" + registry.getFirstMappedPort();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user