diff --git a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/util/RepositoryPathUtilTest.java b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/util/RepositoryPathUtilTest.java index 735aa4549..9567f0b36 100644 --- a/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/util/RepositoryPathUtilTest.java +++ b/archiva-modules/archiva-web/archiva-webdav/src/test/java/org/apache/archiva/webdav/util/RepositoryPathUtilTest.java @@ -35,10 +35,10 @@ public class RepositoryPathUtilTest public void testGetRepositoryId() { String href = "/path/to/my/resource"; - Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).equals( "to" ); + Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).isEqualTo( "to" ); href = "path/to/my/resource"; - Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).equals( "to" ); + Assertions.assertThat( RepositoryPathUtil.getRepositoryName( href ) ).isEqualTo( "to" ); }