Skip to content

Commit 82c42c5

Browse files
committed
Fix method renaming after merge
Signed-off-by: BOUHOURS Antoine <[email protected]>
1 parent add4837 commit 82c42c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

network-store-iidm-impl/src/test/java/com/powsybl/network/store/iidm/impl/CollectionCacheTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ public void extensionGetExtensionThenUpdateThenGetExtensionPreloadingCollection(
607607
assertFalse(mockNetworkStoreClient.isExtensionAttributesLoaderByIdCalled());
608608
assertFalse(mockNetworkStoreClient.isExtensionAttributesLoaderByResourceTypeCalled());
609609
// Load extension in the resource with getExtension in preloading collection
610-
collectionCache.getAllExtensionsAttributesByResourceTypeAndExtensionName(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD, ActivePowerControl.NAME);
610+
collectionCache.loadAllExtensionsAttributesByResourceTypeAndExtensionName(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD, ActivePowerControl.NAME);
611611
ActivePowerControlAttributes apc1Result = (ActivePowerControlAttributes) collectionCache.getExtensionAttributes(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD, "l1", "activePowerControl").orElse(null);
612612
assertEquals(apc1, apc1Result);
613613
assertFalse(mockNetworkStoreClient.isExtensionAttributeLoaderCalled());
@@ -618,7 +618,7 @@ public void extensionGetExtensionThenUpdateThenGetExtensionPreloadingCollection(
618618
// Update the extension in gen1
619619
apc1Result.setDroop(8.7);
620620
// Load extension again with getExtensions in preloading collection
621-
collectionCache.getAllExtensionsAttributesByResourceType(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD);
621+
collectionCache.loadAllExtensionsAttributesByResourceType(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD);
622622
Map<String, ExtensionAttributes> extensionsAttributesByIdentifiableIdResult = collectionCache.getAllExtensionsAttributesByIdentifiableId(NETWORK_UUID, Resource.INITIAL_VARIANT_NUM, ResourceType.LOAD, "l1");
623623
apc1Result = (ActivePowerControlAttributes) extensionsAttributesByIdentifiableIdResult.get(ActivePowerControl.NAME);
624624
ActivePowerControlAttributes updatedApc1 = ActivePowerControlAttributes.builder()

0 commit comments

Comments
 (0)