diff --git a/README.md b/README.md index 3a26fee..3d3391e 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,9 @@ CephContainer container = new CephContainer("quay.io/ceph/demo"); @Container CephContainer container = new CephContainer(DockerImageName.parse("quay.io/ceph/demo")); ``` -or -```java -@Container -CephContainer container = new CephContainer("quay.io/ceph/demo"); -``` -or + +or override with a non-standard, but yet compliant image, for ex if you make a new image based on quay.io/ceph/demo + ```java @Container CephContainer container = new CephContainer( diff --git a/src/test/java/org/testcontainers/containers/CephContainerTest.java b/src/test/java/org/testcontainers/containers/CephContainerTest.java index 24c2529..42369ed 100644 --- a/src/test/java/org/testcontainers/containers/CephContainerTest.java +++ b/src/test/java/org/testcontainers/containers/CephContainerTest.java @@ -43,7 +43,7 @@ public void testBasicUsage() throws Exception { // } s3client.createBucket("test-bucket"); - assertThat(s3client.doesBucketExistV2("test-bucket")); + assertThat(s3client.doesBucketExistV2("test-bucket")).isTrue(); URL file = this.getClass().getResource("/object_to_upload.txt"); assertThat(file).isNotNull();