fix compilation error due to constant being moved.
package com.quorum.tessera.test.rest;
-import com.quorum.tessera.server.http.VersionHeaderDecorator;
-
+import com.quorum.tessera.shared.Constants;
import javax.ws.rs.core.Response;
import static org.assertj.core.api.Assertions.assertThat;
@@ -11,9 +10,9 @@ public interface AssertApiHeaders {
static void doAsserts(Response response) {
assertThat(response.getHeaders())
- .containsKey(VersionHeaderDecorator.API_VERSION_HEADER);
+ .containsKey(Constants.API_VERSION_HEADER);
- assertThat(response.getHeaders().get(VersionHeaderDecorator.API_VERSION_HEADER)).isNotEmpty();
+ assertThat(response.getHeaders().get(Constants.API_VERSION_HEADER)).isNotEmpty();
}
}
