Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactors SubmodelRepository/AasRepository Suite #225

Merged
merged 3 commits into from
Feb 22, 2024

Conversation

FriedJannik
Copy link
Member

No description provided.

* Removes redundancy regarding SME Tests
* Instead now reuses tests of SubmodelServiceSuite

Signed-off-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
Signed-off-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
* Removes redundancy regarding SubmodelReferences

Signed-off-by: Jannik Fried <Jannik.Fried@iese.fraunhofer.de>
DummyAssetAdministrationShellFactory.addDummySubmodelReference(expected);
AasService aasService = getAasService(expected);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just for understanding: why have you moved this line down?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because otherwise the test would fail, as the SubmodelReference is not added to the AAS.
The SubmodelReference needs to be added before the AAS is registered in the AASService.
I don't know why it worked before, but it didn't after my changes

Copy link
Contributor

@ahoimariew ahoimariew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed and approved

@FrankSchnicke FrankSchnicke merged commit 15d3635 into eclipse-basyx:main Feb 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants