use of com.artipie.http.hm.AssertSlice in project artipie by artipie.
the class DockerRoutingSliceTest method revertsDockerRequest.
@Test
void revertsDockerRequest() throws Exception {
final String path = "/v2/one/two";
verify(new DockerRoutingSlice(new Settings.Fake(), new DockerRoutingSlice.Reverted(new AssertSlice(new RqLineHasUri(new RqLineHasUri.HasPath(path))))), path);
}
use of com.artipie.http.hm.AssertSlice in project artipie by artipie.
the class DockerRoutingSliceTest method ignoresNonDockerRequests.
@Test
void ignoresNonDockerRequests() throws Exception {
final String path = "/repo/name";
verify(new DockerRoutingSlice(new Settings.Fake(), new AssertSlice(new RqLineHasUri(new RqLineHasUri.HasPath(path)))), path);
}
Aggregations