Adapt TransportPCE code to Chlorine
[transportpce.git] / pce / src / test / java / org / opendaylight / transportpce / pce / service / PathComputationServiceImplTest.java
index 2c93c5bc3bc8d885102a88b0e0f54e89e6430180..042a1f90aa92b7e32103af07395e076d9309f776 100644 (file)
@@ -66,7 +66,7 @@ public class PathComputationServiceImplTest extends AbstractTest {
     public void testPathComputationRequestPathCase() {
         PathMetric pathMetric = new PathMetricBuilder()
                 .setAccumulativeValue(Decimal64.valueOf("21"))
-                .setMetricType(PathBandwidth.class).build();
+                .setMetricType(PathBandwidth.VALUE).build();
         Response response = new ResponseBuilder()
                 .withKey(new ResponseKey("responseId")).setResponseType(new PathCaseBuilder()
                 .setPathProperties(new PathPropertiesBuilder().setPathMetric(Map.of(pathMetric.key(),pathMetric))