Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
chf73 committed Jul 4, 2023
1 parent c5906e7 commit dc32479
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.io.OutputStream;
import java.util.Collection;
import java.util.Map;
import java.util.Objects;

import org.eclipse.basyx.aas.metamodel.map.descriptor.CustomId;
import org.eclipse.basyx.components.aas.mongodb.MongoDBSubmodelAPI;
Expand Down Expand Up @@ -91,7 +92,7 @@ public void fileSubmodelElementFileUpload() throws FileNotFoundException {

java.io.File value = submodelAPI.getSubmodelElementFile("fileSmeIdShort");

assertEquals("mySubmodelId-fileSmeIdShort.xml", value.getName());
assertEquals("#"+ Objects.hashCode(submodelAPI.getSubmodelId())+"#mySubmodelId-fileSmeIdShort.xml", value.getName());
assertEquals(expected.length(), value.length());
}

Expand Down

0 comments on commit dc32479

Please sign in to comment.