Skip to content

Commit 42c30ea

Browse files
Fixed tests again
Signed-off-by: pierantoniomerlino <pierantonio.merlino@eurotech.com>
1 parent 2454c3b commit 42c30ea

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

kura/test/org.eclipse.kura.net.configuration.test/src/test/java/org/eclipse/kura/net/configuration/NetworkConfigurationServiceCommonTest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*******************************************************************************
2-
* Copyright (c) 2023, 2024 Eurotech and/or its affiliates and others
3-
*
2+
* Copyright (c) 2023, 2025 Eurotech and/or its affiliates and others
3+
*
44
* This program and the accompanying materials are made
55
* available under the terms of the Eclipse Public License 2.0
66
* which is available at https://www.eclipse.org/legal/epl-2.0/
7-
*
7+
*
88
* SPDX-License-Identifier: EPL-2.0
9-
*
9+
*
1010
* Contributors:
1111
* Eurotech
1212
******************************************************************************/
@@ -324,7 +324,7 @@ private void thenComponentDefinitionHasBasicProperties() {
324324

325325
private void thenComponentDefinitionHasCorrectNumberOfResources() {
326326
assertNotNull(this.ads);
327-
assertEquals(191, this.ads.size());
327+
assertEquals(189, this.ads.size());
328328
}
329329

330330
private void thenReturnedPropertyEquals(final String key, final Object value) {
@@ -628,7 +628,7 @@ private void thenComponentDefinitionHasWifiProperties() {
628628
}
629629

630630
private void thenComponentDefinitionHasModemProperties() {
631-
assertEquals(39, this.ads.stream().filter(ad -> ad.getName().contains("1-4")).count());
631+
assertEquals(37, this.ads.stream().filter(ad -> ad.getName().contains("1-4")).count());
632632
}
633633

634634
private void thenComponentDefinitionHasVlanProperties() {
@@ -937,7 +937,7 @@ private void thenComponentDefinitionHasModemProperties(String interfaceName) {
937937
adsConfigured++;
938938
}
939939
}
940-
assertEquals(12, adsConfigured);
940+
assertEquals(10, adsConfigured);
941941
}
942942

943943
private void thenComponentDefinitionHasVlanProperties(String interfaceName) {

0 commit comments

Comments
 (0)