Fix junit4 leftover usage 79/138379/1
authoradheli.tavares <adheli.tavares@est.tech>
Wed, 3 Jul 2024 14:49:38 +0000 (15:49 +0100)
committeradheli.tavares <adheli.tavares@est.tech>
Wed, 3 Jul 2024 14:51:00 +0000 (15:51 +0100)
Issue-ID: POLICY-5027
Change-Id: Iacc3e4192f51c75d2ca1c0c1a38ab9c5996f32bf
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
main/src/test/java/org/onap/policy/distribution/main/startstop/TestDistributionCommandLineArguments.java

index 09ab131..5407648 100644 (file)
@@ -1,6 +1,6 @@
 /*-
  * ============LICENSE_START=======================================================
- *  Copyright (C) 2021 Nordix Foundation.
+ *  Copyright (C) 2021, 2024 Nordix Foundation.
  * ================================================================================
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -22,7 +22,7 @@ package org.onap.policy.distribution.main.startstop;
 
 import static org.assertj.core.api.Assertions.assertThat;
 import static org.assertj.core.api.Assertions.assertThatThrownBy;
-import static org.junit.Assert.assertThrows;
+import static org.junit.jupiter.api.Assertions.assertThrows;
 
 import org.junit.jupiter.api.Test;
 import org.onap.policy.distribution.main.PolicyDistributionRuntimeException;