iTwin / imodel-transformer

API for exporting an iModel's parts and also importing them into another iModel
MIT License
3 stars 2 forks source link

`should log unresolved references` test should be fixed and no longer skipped #175

Open nick4598 opened 5 months ago

nick4598 commented 5 months ago

After addressing https://github.com/iTwin/imodel-transformer/issues/167, the test should log unresolved references no longer passes. Thats because this test relied on the bug of the repository model being remapped to some other model which isn't valid. This remapping would make it so the repository model could not be found in the target iModel and unresolved references would be reported.

We should fix this test to make sure we still log unresolved references. I'm not entirely sure how to do this.. maybe it could be done by calling IModelExporter.excludeElement on a parent model to create an unresolved reference in the target where the model can't be found.

nick4598 commented 5 months ago

This test was broken by this PR: https://github.com/iTwin/imodel-transformer/pull/176